My question is simple and divided in two sub-questions :
I have two
LabelEncoder
s with the exact same parameter.classes_
. But when I compare then with==
, they seems different. How can I check they are equal ?I also want to check two sklearn model (
RandomForest
already fitted) are equals ? The == check does not seems to work.