Introduction to the encoding of categorical variables