This commit is contained in:
s444519 2022-06-07 18:09:51 +02:00
parent abb01e949e
commit fb2e70e1da
4 changed files with 147919 additions and 147911 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 28,
"id": "f902472d", "id": "f902472d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -20,7 +20,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 29,
"id": "2324a8dd", "id": "2324a8dd",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -35,7 +35,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 30,
"id": "e4ba4b52", "id": "e4ba4b52",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -144,7 +144,7 @@
"9 2017.005479 20170103 Sinn Féin warns Stormont may collapse over 'ca..." "9 2017.005479 20170103 Sinn Féin warns Stormont may collapse over 'ca..."
] ]
}, },
"execution_count": 3, "execution_count": 30,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -155,7 +155,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 31,
"id": "d4a64cb8", "id": "d4a64cb8",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -264,7 +264,7 @@
"9 2012.791781 20121016 UK investigation into Icelandic bank fraud aba..." "9 2012.791781 20121016 UK investigation into Icelandic bank fraud aba..."
] ]
}, },
"execution_count": 4, "execution_count": 31,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -275,7 +275,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 32,
"id": "1221baee", "id": "1221baee",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -384,7 +384,7 @@
"9 2005.569863 20050728 IRA must hand over criminal assets - McDowell" "9 2005.569863 20050728 IRA must hand over criminal assets - McDowell"
] ]
}, },
"execution_count": 5, "execution_count": 32,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -395,7 +395,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 33,
"id": "58cb7b89", "id": "58cb7b89",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -482,7 +482,7 @@
"9 news" "9 news"
] ]
}, },
"execution_count": 6, "execution_count": 33,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -493,7 +493,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 34,
"id": "cfb113b6", "id": "cfb113b6",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -506,7 +506,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 35,
"id": "046f00be", "id": "046f00be",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -516,7 +516,7 @@
"'Sudan claims it is disarming militias'" "'Sudan claims it is disarming militias'"
] ]
}, },
"execution_count": 8, "execution_count": 35,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -527,7 +527,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 36,
"id": "9d36394d", "id": "9d36394d",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -548,7 +548,7 @@
"Name: 2, Length: 1186898, dtype: object" "Name: 2, Length: 1186898, dtype: object"
] ]
}, },
"execution_count": 9, "execution_count": 36,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -559,7 +559,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 37,
"id": "58d6e666", "id": "58d6e666",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -570,7 +570,7 @@
" 'removed'], dtype=object)" " 'removed'], dtype=object)"
] ]
}, },
"execution_count": 10, "execution_count": 37,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -581,7 +581,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 38,
"id": "86d6f712", "id": "86d6f712",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -594,7 +594,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 39,
"id": "4491cae8", "id": "4491cae8",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -651,7 +651,7 @@
"3 3" "3 3"
] ]
}, },
"execution_count": 12, "execution_count": 39,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -662,17 +662,17 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 40,
"id": "6eccbc39", "id": "6eccbc39",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"model = vowpalwabbit.Workspace(\"--oaa 3 --quiet\")" "model = vowpalwabbit.Workspace(\"--oaa 20 --quiet\")"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 41,
"id": "e09e6a3f", "id": "e09e6a3f",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -682,7 +682,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 42,
"id": "f0e4b5fc", "id": "f0e4b5fc",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -692,7 +692,7 @@
"pandas.core.frame.DataFrame" "pandas.core.frame.DataFrame"
] ]
}, },
"execution_count": 15, "execution_count": 42,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -703,7 +703,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 43,
"id": "7662ca93", "id": "7662ca93",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -713,7 +713,7 @@
"pandas.core.series.Series" "pandas.core.series.Series"
] ]
}, },
"execution_count": 16, "execution_count": 43,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -724,7 +724,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 44,
"id": "a1838cd6", "id": "a1838cd6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1734,7 +1734,7 @@
" ...]" " ...]"
] ]
}, },
"execution_count": 17, "execution_count": 44,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1745,7 +1745,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 18, "execution_count": 45,
"id": "3eedae48", "id": "3eedae48",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1756,7 +1756,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 46,
"id": "adc7bcd0", "id": "adc7bcd0",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1769,7 +1769,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 47,
"id": "2b9ce936", "id": "2b9ce936",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1781,7 +1781,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 48,
"id": "cef5f0c2", "id": "cef5f0c2",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1800,7 +1800,7 @@
" '| headline: UK investigation into Icelandic bank fraud abandoned']" " '| headline: UK investigation into Icelandic bank fraud abandoned']"
] ]
}, },
"execution_count": 21, "execution_count": 48,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1811,7 +1811,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 49,
"id": "062f0bd1", "id": "062f0bd1",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1824,7 +1824,7 @@
" \"| headline: Those who can't\"]" " \"| headline: Those who can't\"]"
] ]
}, },
"execution_count": 22, "execution_count": 49,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1835,7 +1835,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 50,
"id": "f20d5d1d", "id": "f20d5d1d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1854,7 +1854,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 51,
"id": "4c68c041", "id": "4c68c041",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1864,7 +1864,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 25, "execution_count": 52,
"id": "9da03434", "id": "9da03434",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1874,13 +1874,21 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 26, "execution_count": 53,
"id": "f8d5471d", "id": "f8d5471d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"predictions(testb_x, 'test-B\\out.tsv')" "predictions(testb_x, 'test-B\\out.tsv')"
] ]
},
{
"cell_type": "code",
"execution_count": null,
"id": "948f6088",
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {

115622
dev-0/out.tsv

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff