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


penaltyLearning documentation built on Sept. 8, 2023, 5:47 p.m.