featureSelectionClassificationKruskalWallisComponent
Pipeline component for performing feature selection using Kruskal-Wallis test
Since R2026a
Description
featureSelectionClassificationKruskalWallisComponent is a pipeline component
that performs feature selection using p-values computed by the
Kruskal-Wallis test. The pipeline component uses the functionality of the kruskalwallis function during the learn phase to identify important predictors
in the data. During the run phase, the component selects the same predictors from a new data
set.
Creation
Syntax
Description
creates a pipeline component for feature selection using the Kruskal-Wallis test. Use the
component when creating a pipeline for classification.component = featureSelectionClassificationKruskalWallisComponent
sets writable Properties using one or more
name-value arguments. For example, component = featureSelectionClassificationKruskalWallisComponent(Name=Value)NumFeatures=10 specifies to select
10 important features.
Properties
Object Functions
learn | Initialize and evaluate pipeline or component |
run | Execute pipeline or component for inference after learning |
reset | Reset pipeline or component |
series | Connect components in series to create pipeline |
parallel | Connect components or pipelines in parallel to create pipeline |
view | View diagram of pipeline inputs, outputs, components, and connections |
Examples
Version History
Introduced in R2026a