Categorical Features

Learn about categorical features variants and their encoding methods.

We'll cover the following

Categorical features take a fixed or small set of values. Consider the example of Gender (Male, Female) or education of a person (High school, college, masters, Ph.D., etc). Even if the data contains features that have a fixed set of values, we can mark it as a categorical feature. For example, consider the error code in the manufacturing process. We can receive an error code in case of any process failures. This code may belong to a predefined set of values and are qualified as categorical features.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.