mglearn
mglearn copied to clipboard
mglearn helper package for "Introduction to Machine Learning with Python"
If printing features of varying lengths, especially when ngram > 1, print_topics output was difficult to interpret. Now adjusts topic width to fit longest feature in that topic.
When I run the method `mglearn.plots.plot_cross_val_selection()` I got a error, I installed a pandas v2.0.3 error message: > --------------------------------------------------------------------------- > ValueError Traceback (most recent call last) > in > ---->...
>>> import mglearn C:\Users\Jade kamyana\AppData\Local\Programs\Python\Python37\lib\site-packages\sklearn\externals\six.py:31: FutureWarning: The module is deprecated in version 0.21 and will be removed in version 0.23 since we've dropped support for Python 2.7. Please rely on...
 Reason: `Note [there is vulnerability CVE-2022-21797](https://nvd.nist.gov/vuln/detail/CVE-2022-21797) when using joblib < 1.2.0` https://stackoverflow.com/questions/73830225/init-got-an-unexpected-keyword-argument-cachedir-when-importing-top2vec Sorry that I am so lazy to create a pull request. I just have an exam tomorrow....
Current version is not compatible with sklearn 1.2. In version 1.2 the load_boston dataset has been removed.
np.bool should be bool in [this](https://github.com/amueller/mglearn/blob/106cf48ef03710ef1402813997746741aa6467da/mglearn/datasets.py#L16) line, according to an error it throws calling this code: ```python # generate dataset X, y = mglearn.datasets.make_forge() # plot dataset mglearn.discrete_scatter(X[:, 0], X[:,...
ImportError: `load_boston` has been removed from scikit-learn since version 1.2. The Boston housing prices dataset has an ethical problem: as investigated in [1], the authors of this dataset engineered a...
```python import mglearn mglearn.plots.plot_animal_tree() ``` error log ``` /opt/anaconda3/lib/python3.7/site-packages/sklearn/externals/six.py:31: DeprecationWarning: The module is deprecated in version 0.21 and will be removed in version 0.23 since we've dropped support for Python...