Checks that:
only one of the the two inputs, n_features
and min_change
, are non-None
the remaining element is numeric and is strictly greater than zero
1 | input_checks(n_features, min_change, criterion)
|
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.
|
criterion |
A string representing the model selection criterion to be used. Can be one of 'r-squared', aic', 'bic' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.