This commit is contained in:
Antonio Rodriguez-Magierowski 2022-06-20 22:37:27 +02:00
parent 05f48d11ff
commit c507910bf2

View File

@ -453,16 +453,6 @@
"Dokładność: 92.82%\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/usr/lib/python3/dist-packages/sklearn/linear_model/base.py:283: 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",
"Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n",
" indices = (scores > 0).astype(np.int)\n"
]
}
],
"source": [
"pac=PassiveAggressiveClassifier(max_iter=50)\n",
"pac.fit(tfidf_train,y_train)\n",