Some data sets may have ordinal data, which are descriptions with a natural order, such as small, medium large. There may also be categorical data which has no obvious order like green, blue, red. We’ll usually want to convert both of these into numbers for use by machine learning models.
Let’s look at an example: Continue reading “70. Machine Learning: Working with ordinal and categorical data”