Encode Feature
OneHotEncoder, LabelEncoder, Data Categorize, Binarizer, KBinsDiscretizer
Last updated
OneHotEncoder, LabelEncoder, Data Categorize, Binarizer, KBinsDiscretizer
Last updated
Inputs
*Target Data
Data input
*Output Name
Name of the encoded data (fill it out at your discretion)
*Encoder
Name of the user-defined encoder module (fill it out at your discretion)
name of the Encoder should be different from the output name.
*x
Columns (variables) to be encoded
At least one column should be selected.
Inputs
*Target Data
Data input
*Output Name
Name of the encoded data (fill it out at your discretion)
*Encoder
Name of the user-defined encoder module (fill it out at your discretion)
name of the Encoder should be different from the output name.
*x
Columns (variables) to be encoded
Only one column should be selected.
Inputs
*Target Data
Data input
*Variable
Column of 'Target Data' to be categorized
*Output Name
Name of the categorized data (fill it out at your discretion)
New Variable
Name of the categorized 'Variable' (fill it out at your discretion) It will be stored as a new variable in 'Output Name' data.
If empty, the categorized 'Variable' will be saved as a new variable in 'Output Name' data with no column name.
Inputs
*Oper.
select equality/inequality signs
*Value 1
categorization criteria number
&
If there are 2 categorization criteria to categorize the data, use '&'.
Oper.
select equality/inequality signs for criteria 2
Value2
categorization criteria 2 number
Categorize Value
Categorize Value of the data categorized by the set criteria.
R-Flow Task Example Video: Data Categorize
OneHotEncoder: https://scikit-learn.org/0.16/modules/generated/sklearn.preprocessing.OneHotEncoder.html
LabelEncoder: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelEncoder.html
Binarizer: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.Binarizer.html
KBinsDiscretizer: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.KBinsDiscretizer.html