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

FIX use sparse_output parameter for OneHotEncoder #686

Closed ogrisel closed 1 year ago

ogrisel commented 1 year ago

OneHotEncoder.sparse is deprecated in favor of OneHotEncoder.sparse_output

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

ArturoAmorQ commented 1 year ago

I took the liberty to fix a typo :)

ogrisel commented 1 year ago

Thanks for the fix, and sorry for opening the PR without reviewing the diff...