equalWidthBinnerComponent
Description
equalWidthBinnerComponent is a pipeline component that groups data into bins
of equal width. The pipeline component uses the functionality of the histcounts function
during the learn phase to compute the edges of the bins. The component uses the functionality
of the discretize function during the run phase to bin
new data.
Creation
Description
creates a pipeline component for grouping data into equal-width bins.component = equalWidthBinnerComponent
sets writable Properties using one or more
name-value arguments. For example, component = equalWidthBinnerComponent(Name=Value)
specifies to create ten equal-width bins.NumBins=10
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