Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Education and Culture Executive Agency (EACEA). Neither the European Union nor EACEA can be held responsible for them.

Algorithms

One Hot Encoding

One hot encoding is a process by which categorical variables are converted into a form that could be provided to ML algorithms to do a better job in prediction. Many machine learning libraries require class labels to be coded as integer values. Problem with label encoding is that it assumes higher the categorical value, better the category. This is why we use one hot encoder to perform “binarization” of the category and include it as a feature to train the model.

Scientific Area:
Python

Language/Environments:
Optimization

Target Group:
Advanced


Author of the review:
Spiros Sirmakessis
University of Peloponnese


Reviews

You have to login to leave a comment. If you are not registered click here