mglearn icon indicating copy to clipboard operation
mglearn copied to clipboard

mglearn helper package for "Introduction to Machine Learning with Python"

Results 8 mglearn issues
Sort by recently updated
recently updated
newest added

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...

![image](https://user-images.githubusercontent.com/18080546/194880837-bff55bd3-2f49-4b46-9da4-b48f281cd2e8.png) 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...