OneHotEncoder and LabelEncoder

hello dear form user

i am new to data science and knime platform I work on sklearn in python and ı have a project for some columns i need to use labelencoder and onehotencoder. Which nodes correspond to these encoders in knime.

thank you in advance for your answers

2 Likes

Hello @BerkayAkar,

Welcome to the KNIME forum :slight_smile:

For a label encoding you can use the Category to Number node. This node takes columns with nominal data and maps every category to an integer.
For a one hot encoding you can use the One to Many node.

Cheers
Kathrin

6 Likes

thanks you for giving advice have a good day :smiley: :

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.