check_features_targets {penaltyLearning}R Documentation

check features targets

Description

stop with an informative error if there is a problem with the feature or target matrix.

Usage

check_features_targets(feature.mat, 
    target.mat)

Arguments

feature.mat

n x p numeric input feature matrix.

target.mat

n x 2 matrix of target interval limits.

Value

number of observations/rows.

Author(s)

Toby Dylan Hocking


[Package penaltyLearning version 2024.1.25 Index]