|
4 | 4 | "cell_type": "code",
|
5 | 5 | "execution_count": 1,
|
6 | 6 | "metadata": {},
|
7 |
| - "outputs": [ |
8 |
| - { |
9 |
| - "name": "stderr", |
10 |
| - "output_type": "stream", |
11 |
| - "text": [ |
12 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/feature_extraction/image.py:167: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.\n", |
13 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
14 |
| - " dtype=np.int):\n", |
15 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:35: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
16 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
17 |
| - " eps=np.finfo(np.float).eps,\n", |
18 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:597: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
19 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
20 |
| - " eps=np.finfo(np.float).eps, copy_X=True, fit_path=True,\n", |
21 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:836: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
22 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
23 |
| - " eps=np.finfo(np.float).eps, copy_X=True, fit_path=True,\n", |
24 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:862: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
25 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
26 |
| - " eps=np.finfo(np.float).eps, positive=False):\n", |
27 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:1097: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
28 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
29 |
| - " max_n_alphas=1000, n_jobs=None, eps=np.finfo(np.float).eps,\n", |
30 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:1344: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
31 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
32 |
| - " max_n_alphas=1000, n_jobs=None, eps=np.finfo(np.float).eps,\n", |
33 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/least_angle.py:1480: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
34 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
35 |
| - " eps=np.finfo(np.float).eps, copy_X=True, positive=False):\n", |
36 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/randomized_l1.py:152: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
37 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
38 |
| - " precompute=False, eps=np.finfo(np.float).eps,\n", |
39 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/randomized_l1.py:320: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
40 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
41 |
| - " eps=np.finfo(np.float).eps, random_state=None,\n", |
42 |
| - "/home/kanishka/anaconda3/lib/python3.7/site-packages/sklearn/linear_model/randomized_l1.py:580: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.\n", |
43 |
| - "Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n", |
44 |
| - " eps=4 * np.finfo(np.float).eps, n_jobs=None,\n" |
45 |
| - ] |
46 |
| - } |
47 |
| - ], |
| 7 | + "outputs": [], |
48 | 8 | "source": [
|
49 | 9 | "from nltk.corpus import wordnet as wn\n",
|
50 | 10 | "from collections import defaultdict\n",
|
|
247 | 207 | "name": "python",
|
248 | 208 | "nbconvert_exporter": "python",
|
249 | 209 | "pygments_lexer": "ipython3",
|
250 |
| - "version": "3.7.1" |
| 210 | + "version": "3.8.3" |
251 | 211 | }
|
252 | 212 | },
|
253 | 213 | "nbformat": 4,
|
|
0 commit comments