No module named 'helpers.plotting'

Hello,

In paragraph “Decision Tree for classification”, I tried to study the boundaries defined by logistic regression by running the python program on my own Jupyter notebook. After installing “Helpers” by

“conda install -c conda-forge helpers” on Anaconda Powershell, I still got the following error message:

ModuleNotFoundError: No module named ‘helpers.plotting’.

Please help me to overcome this problem. Thanks!

Hello,

Unfortunately, for the moment the helpers.plotting module is only used to draw decision boundary plots in the MOOC, but in the long term it will be added to scikit-learn.

If you really want to reproduce the plots locally, you can take a look at the definitions in this file of the scikit-learn-mooc repo.

I think the simplest thing to do if you want to run notebooks locally is to follow the local installation instructions mentioned in Mutual aid for Jupyter local installation.

Thank you for this clarification.