check_features_targets: check features targets

Description Usage Arguments Value Author(s)

Description

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

Usage

1
2
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 July 1, 2020, 10:26 p.m.