forked from kubapok/retroc2
final
This commit is contained in:
parent
f6163eb890
commit
9c636c9b8f
@ -118,9 +118,9 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"x_dev1 = readFile('dev-0/in.tsv')\n",
|
"x_dev1 = readFile('dev-1/in.tsv')\n",
|
||||||
"dev_predicted = model.predict(x_dev1)\n",
|
"dev_predicted = model.predict(x_dev1)\n",
|
||||||
"with open('dev-0/out.tsv', 'wt') as f:\n",
|
"with open('dev-1/out.tsv', 'wt') as f:\n",
|
||||||
" for i in dev_predicted:\n",
|
" for i in dev_predicted:\n",
|
||||||
" f.write(str(i)+'\\n')"
|
" f.write(str(i)+'\\n')"
|
||||||
]
|
]
|
||||||
|
11563
dev-1/out.tsv
Normal file
11563
dev-1/out.tsv
Normal file
File diff suppressed because it is too large
Load Diff
@ -118,9 +118,9 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"x_dev1 = readFile('dev-0/in.tsv')\n",
|
"x_dev1 = readFile('dev-1/in.tsv')\n",
|
||||||
"dev_predicted = model.predict(x_dev1)\n",
|
"dev_predicted = model.predict(x_dev1)\n",
|
||||||
"with open('dev-0/out.tsv', 'wt') as f:\n",
|
"with open('dev-1/out.tsv', 'wt') as f:\n",
|
||||||
" for i in dev_predicted:\n",
|
" for i in dev_predicted:\n",
|
||||||
" f.write(str(i)+'\\n')"
|
" f.write(str(i)+'\\n')"
|
||||||
]
|
]
|
||||||
|
4
run.py
4
run.py
@ -61,9 +61,9 @@ with open('dev-0/out.tsv', 'wt') as f:
|
|||||||
# In[ ]:
|
# In[ ]:
|
||||||
|
|
||||||
|
|
||||||
x_dev1 = readFile('dev-0/in.tsv')
|
x_dev1 = readFile('dev-1/in.tsv')
|
||||||
dev_predicted = model.predict(x_dev1)
|
dev_predicted = model.predict(x_dev1)
|
||||||
with open('dev-0/out.tsv', 'wt') as f:
|
with open('dev-1/out.tsv', 'wt') as f:
|
||||||
for i in dev_predicted:
|
for i in dev_predicted:
|
||||||
f.write(str(i)+'\n')
|
f.write(str(i)+'\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user