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 <toby.hocking@r-project.org> [aut, cre]


[Package penaltyLearning version 2024.9.3 Index]