This commit is contained in:
Jakub Pokrywka 2022-05-18 10:07:39 +02:00
parent bb381638d1
commit 1132d2400b

View File

@ -24,9 +24,9 @@
"output_type": "stream",
"text": [
"Requirement already satisfied: gensim in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (4.2.0)\n",
"Requirement already satisfied: numpy>=1.17.0 in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (from gensim) (1.22.3)\n",
"Requirement already satisfied: smart-open>=1.8.1 in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (from gensim) (6.0.0)\n",
"Requirement already satisfied: scipy>=0.18.1 in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (from gensim) (1.8.0)\n",
"Requirement already satisfied: smart-open>=1.8.1 in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (from gensim) (6.0.0)\n"
"Requirement already satisfied: numpy>=1.17.0 in /home/kuba/anaconda3/envs/zajeciaei/lib/python3.10/site-packages (from gensim) (1.22.3)\n"
]
}
],
@ -52,7 +52,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_62420/1831104553.py:2: DeprecationWarning: Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython display\n",
"/tmp/ipykernel_5965/1831104553.py:2: DeprecationWarning: Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython display\n",
" from IPython.core.display import display, HTML\n"
]
}
@ -652,7 +652,7 @@
"Read 3M words\n",
"Number of words: 275356\n",
"Number of labels: 20\n",
"Progress: 100.0% words/sec/thread: 1103389 lr: 0.000000 avg.loss: 0.817102 ETA: 0h 0m 0s\n"
"Progress: 100.0% words/sec/thread: 1010736 lr: 0.000000 avg.loss: 0.817885 ETA: 0h 0m 0s\n"
]
}
],
@ -687,7 +687,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"0.7199946893255443\r\n"
"0.719198088157196\r\n"
]
}
],
@ -695,6 +695,16 @@
"!geval --metric Accuracy -o ss_20_newsgroup_test_pred_label_only -e 20_newsgroup_test_targets"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Zadanie\n",
"\n",
"\n",
"Ireland news na gonito. Proszę użyć gotowej biblioteki, innej niż w sklearn (np starspace, fasttext, vw). Reguły jak zawsze. Wynik powyżej 55 accuracy. "
]
},
{
"cell_type": "code",
"execution_count": null,