Random_split
The function random_split splits the dataframe provided into n balanced data frames, without taking into account the repartition of the different classes; this might leads, with very low probability, to data frames with a missing class due to bad luck.
This function need to be recoded in order to deal with such an issue.