fix
This commit is contained in:
parent
91744ddc0a
commit
f62c172654
@ -3,8 +3,8 @@ import torch.optim as op
|
||||
from torch.autograd import Variable
|
||||
from price_parser import Price
|
||||
|
||||
train = open('train/train.tsv', 'r')
|
||||
test_in = open('test-A/in.tsv', 'r')
|
||||
train = open('train/train.tsv', 'r', encoding='utf-8')
|
||||
test_in = open('test-A/in.tsv', 'r', encoding='utf-8')
|
||||
test_out = open('test-A/out.tsv', 'w+')
|
||||
|
||||
expected = []
|
||||
|
418
test-A/out.tsv
418
test-A/out.tsv
@ -0,0 +1,418 @@
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-1209823.875
|
||||
-688516.75
|
||||
-676713.5625
|
||||
-786876.5625
|
||||
-885236.375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-885236.375
|
||||
-889406.875
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-1022940.1875
|
||||
-1573755.25
|
||||
-688713.4375
|
||||
-550812.9375
|
||||
-373765.21875
|
||||
-1318019.625
|
||||
-609828.875
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-397174.84375
|
||||
-1252118.625
|
||||
-590156.875
|
||||
-537239.3125
|
||||
-688713.4375
|
||||
-1157496.375
|
||||
-511469.0
|
||||
-494354.375
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-196717.515625
|
||||
-389502.78125
|
||||
-1278675.75
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-895072.375
|
||||
-1022940.1875
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-1353429.25
|
||||
-688713.4375
|
||||
-397371.5625
|
||||
-216389.484375
|
||||
-397174.84375
|
||||
-491797.03125
|
||||
-826220.5
|
||||
-1475395.375
|
||||
-845892.4375
|
||||
-1278675.75
|
||||
-590156.875
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-818351.6875
|
||||
-688713.4375
|
||||
-629500.8125
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1081956.0
|
||||
-1062284.125
|
||||
-1337691.625
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-214422.28125
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-1337691.625
|
||||
-1377035.625
|
||||
-590156.875
|
||||
-1081956.0
|
||||
-786876.5625
|
||||
-196717.515625
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1180315.875
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-875400.4375
|
||||
-688713.4375
|
||||
-668844.75
|
||||
-786876.5625
|
||||
-688516.75
|
||||
-688713.4375
|
||||
-687926.5625
|
||||
-845892.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-1081956.0
|
||||
-688713.4375
|
||||
-1022940.1875
|
||||
-904908.375
|
||||
-944252.3125
|
||||
-906875.5625
|
||||
-1278675.75
|
||||
-590156.875
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-649172.8125
|
||||
-1475395.375
|
||||
-688713.4375
|
||||
-826220.5
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-847662.9375
|
||||
-826220.5
|
||||
-393437.1875
|
||||
-688516.75
|
||||
-688713.4375
|
||||
-792778.125
|
||||
-393437.1875
|
||||
-393437.1875
|
||||
-491797.03125
|
||||
-454420.28125
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-491797.03125
|
||||
-688713.4375
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-768188.1875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-885236.375
|
||||
-688713.4375
|
||||
-1672115.125
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1278675.75
|
||||
-983596.25
|
||||
-1711459.0
|
||||
-688713.4375
|
||||
-873433.1875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-393437.1875
|
||||
-1278675.75
|
||||
-393437.1875
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-295077.34375
|
||||
-688713.4375
|
||||
-767204.5625
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-481961.03125
|
||||
-1310150.875
|
||||
-688713.4375
|
||||
-727860.625
|
||||
-688713.4375
|
||||
-1321954.0
|
||||
-393437.1875
|
||||
-396978.125
|
||||
-1377035.625
|
||||
-629500.8125
|
||||
-629500.8125
|
||||
-629500.8125
|
||||
-1278675.75
|
||||
-629500.8125
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-395601.09375
|
||||
-245897.4375
|
||||
-1081956.0
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-590156.875
|
||||
-885236.375
|
||||
-472125.0625
|
||||
-688713.4375
|
||||
-688516.75
|
||||
-491797.03125
|
||||
-1770474.875
|
||||
-688713.4375
|
||||
-275405.375
|
||||
-1160643.875
|
||||
-688516.75
|
||||
-928514.75
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-1475395.375
|
||||
-590156.875
|
||||
-688516.75
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-1066218.5
|
||||
-196717.515625
|
||||
-786876.5625
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-550812.9375
|
||||
-196717.515625
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-688516.75
|
||||
-688516.75
|
||||
-688516.75
|
||||
-393437.1875
|
||||
-983596.25
|
||||
-786876.5625
|
||||
-1407133.625
|
||||
-688713.4375
|
||||
-1377035.625
|
||||
-590156.875
|
||||
-393437.1875
|
||||
-963924.25
|
||||
-590156.875
|
||||
-196717.515625
|
||||
-944252.3125
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-875400.4375
|
||||
-885236.375
|
||||
-393437.1875
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-710155.875
|
||||
-511469.0
|
||||
-590156.875
|
||||
-845892.4375
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-491797.03125
|
||||
-1573755.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-857695.625
|
||||
-705237.875
|
||||
-688713.4375
|
||||
-920645.9375
|
||||
-550812.9375
|
||||
-1495067.375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1377035.625
|
||||
-688713.4375
|
||||
-629500.8125
|
||||
-395797.8125
|
||||
-452453.09375
|
||||
-786876.5625
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-1377035.625
|
||||
-1140972.0
|
||||
-786876.5625
|
||||
-986940.4375
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-393437.1875
|
||||
-590156.875
|
||||
-393437.1875
|
||||
-963924.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-708188.6875
|
||||
-963924.25
|
||||
-688713.4375
|
||||
-932449.125
|
||||
-590156.875
|
||||
-196717.515625
|
||||
-845892.4375
|
||||
-295077.34375
|
||||
-590156.875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-1377035.625
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-390486.375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-1377035.625
|
||||
-393437.1875
|
||||
-963924.25
|
||||
-706221.5
|
||||
-688713.4375
|
||||
-1180315.875
|
||||
-356060.4375
|
||||
-688713.4375
|
||||
-397371.5625
|
||||
-688713.4375
|
||||
-944252.3125
|
||||
-727860.625
|
||||
-196717.515625
|
||||
-688713.4375
|
||||
-1445887.5
|
||||
-688713.4375
|
||||
-660975.9375
|
||||
-688713.4375
|
||||
-944252.3125
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-511469.0
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-920645.9375
|
||||
-786876.5625
|
||||
-590156.875
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-1475395.375
|
||||
-767204.5625
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-748791.625
|
||||
-786876.5625
|
||||
-1573755.25
|
||||
-550812.9375
|
||||
-550812.9375
|
||||
-922023.0
|
||||
-688713.4375
|
||||
-590156.875
|
||||
-540976.9375
|
||||
-963924.25
|
||||
-688713.4375
|
||||
-1180315.875
|
||||
-688713.4375
|
||||
-947399.8125
|
||||
-688713.4375
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-700319.875
|
||||
-464256.28125
|
||||
-393437.1875
|
||||
-786876.5625
|
||||
-393437.1875
|
||||
-950547.3125
|
||||
-786876.5625
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-243340.078125
|
||||
-295077.34375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-393437.1875
|
||||
-983596.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1593427.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-963924.25
|
||||
-1475395.375
|
||||
-688713.4375
|
||||
-196717.515625
|
||||
-1180315.875
|
||||
-1499591.875
|
||||
-393437.1875
|
||||
-1868834.75
|
||||
-245897.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1180315.875
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-1573755.25
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-688713.4375
|
||||
-295077.34375
|
||||
-295077.34375
|
||||
-688713.4375
|
|
Loading…
Reference in New Issue
Block a user