Select Features from Model

../../../../_images/select_model.svg

Meta-transformer for selecting features based on importance weight. Only works for models with coef or feature_importances attributes.

Definition

Input ports

model model

Model

in-data table

in-data

Output ports

out-data table

out-data

features table

features

Configuration

threshold (threshold)

The threshold value to use for feature selection. Features whose absolute importance value is greater or equal are kept while the others are discarded. If “median” (resp. “mean”), then the threshold value is the median (resp. the mean) of the feature importances. A scaling factor (e.g., “1.25*mean”) may also be used. If None and if the estimator has a parameter penalty set to l1, either explicitly or implicitly (e.g, Lasso), the threshold used is 1e-5. Otherwise, “mean” is used by default.

Implementation

class node_application.SelectFromModel[source]