PacktPublishing / Interpretable-Machine-Learning-with-Python-2E

Interpretable ML with Python, 2E - published by Packt
MIT License
78 stars 34 forks source link

Problem not finding "import mldatasets" in python code #1

Closed choi-yongsuk closed 10 months ago

choi-yongsuk commented 10 months ago

After completing the installation by executing the "pip install machine-learning-datasets" command, and executing the "import mldatasets" code in the python code, the error "ModuleNotFoundError: No module named 'mldatasets' " occurred.

image

And I solved it by checking and modifying the code as shown below.

import machine_learning_datasets as mldatasets

I think you need to edit the code of each chapter or the name of the lib.

smasis001 commented 10 months ago

Thank you for alerting me of this oversight. New commit #ab90888 resolved this issue.