frequencyEncoderComponent
Description
frequencyEncoderComponent is a pipeline component that performs frequency
encoding on categorical data. During the learn phase, the pipeline component establishes the
frequency values for each categorical variable. During the run phase, the component encodes
new data using the learned frequency values.
Creation
Description
creates a pipeline component for frequency encoding.component = frequencyEncoderComponent
sets writable Properties using one or more
name-value arguments. For example, component = frequencyEncoderComponent(Name=Value)
specifies to encode the top ten categories.Limit=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