Data Preprocessing: Handling Text and Categorical Attributes

Get familiarized with how we can handle text and categorical attributes.

Handling text and categorical attributes

Many machine learning algorithms work with numbers only. To use textual data, we need to translate it into numbers.

The Scikit-Learn library provides a transformer for this task called LabelEncoder.

Get hands-on with 1200+ tech skills courses.