input_checks: Check parameter input

Description Usage Arguments

View source: R/checks.R

Description

Checks that:

Usage

1
input_checks(n_features, min_change, criterion)

Arguments

n_features

the number of features to select. Floats will be regarded as proportions of the total that must lie on (0,1). min_change must be None for 'n_features' to operate.

min_change

The smallest change to be considered significant. n_features must be None for min_change to operate.

criterion

A string representing the model selection criterion to be used. Can be one of 'r-squared', aic', 'bic'


UBC-MDS/punisheR documentation built on May 25, 2019, 1:36 p.m.