check_target_pred {penaltyLearning}R Documentation

check target pred

Description

stop with an informative error if there are problems with the target matrix or predicted values.

Usage

check_target_pred(target.mat, 
    pred)

Arguments

target.mat

target.mat

pred

pred

Value

number of observations.

Author(s)

Toby Dylan Hocking


[Package penaltyLearning version 2024.1.25 Index]