check_features_targets: check features targets

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


penaltyLearning documentation built on Oct. 2, 2024, 9:09 a.m.