INRIA / scikit-learn-mooc

Machine learning in Python with scikit-learn MOOC
https://inria.github.io/scikit-learn-mooc
Creative Commons Attribution 4.0 International
1.12k stars 516 forks source link

MAINT Update wrap-up quiz M5 #751

Closed ArturoAmorQ closed 1 year ago

ArturoAmorQ commented 1 year ago

@lfarhi noticed a degrade of the performance of the tree model at the end of wrap-up quiz M5. The reason is that Pandas>2.0 converts None into NaN, which broke the pipeline with ordinal encoding. This PR fixes the issue.