Handling imbalanced data and encoding categorical variables - TechinUK