Andre Ye·Follow1 min read·Sep 6, 2020--1ListenShareHello, thanks for reading! If the target variable is also categorical it must be one hot encoded, you could also cluster different classes into similar ones to reduce the total number of classes if there are too many.