It's quite common to have categorical data (in the statistical sense), which must be transformed before putting them into an algorithm. There are a couple ways to handle this.
### Categoricals
This basically creates a mapping between the categories and integers. This sometimes makes sense if you'rerepresentingsoemthinglikeresponsestoasurveywheretheresponsesare`bad`,`neutral`and`good`.