POC-English baseline test 2018-12-31

«Re-generate tests (with trees production) for POCE & CDS for all baseline parse&WSD variants»

3-level category tree, Link Grammar 5.5.1, test_grammar updated 2018-10-19, server 94.130.238.118
This notebook is shared as static POC-English-2018-12-31.html, output data shared via POC-English-2018-12-31 directory.
Previous (reference) tests: POC-English-2018-10-23.html, POC-English-Amb-2018-10-21.html, POC-English-Amb-2018-08-09.html

Basic settings

In [1]:
import os, sys, time
module_path = os.path.abspath(os.path.join('..'))
if module_path not in sys.path: sys.path.append(module_path)
from src.grammar_learner.utl import UTC
from src.grammar_learner.read_files import check_dir
from src.grammar_learner.write_files import list2file
from src.grammar_learner.widgets import html_table
from src.grammar_learner.pqa_table import table_rows
tmpath = module_path + '/tmp/'
check_dir(tmpath, True, 'none')
table = []
long_table = []
start = time.time()
print(UTC(), ':: module_path =', module_path)
2018-12-31 13:24:59 UTC :: module_path = /home/obaskov/94/language-learning

Grammar Learner corpus-specific parameters

In [2]:
corpus = 'POC-English-Amb'
out_dir = module_path + '/output/POC-English-' + str(UTC())[:10]
runs = (1,1)
if runs != (1,1): out_dir += '-multi'
kwargs = {
    'min_word_count':   1           ,   # SVS (sparse vector space) parameter
    'min_link_count':   1           ,   # SVS
    'max_words'     :   100000      ,   # SVS: max space dimension 1
    'max_features'  :   100000      ,   # SVS: dimension 2: disjuncts/connectors 
    'min_co-occurrence_count':  1   ,   # SVS
    'left_wall'     :   ''          ,
    'period'        :   False       ,
    'word_space'    :   'vectors'   ,
    'clustering'    :   ('kmeans', 'kmeans++', 10),
    'cluster_range' :   (2,50,1,5)  ,
    'cluster_criteria': 'silhouette',
    'clustering_metric': ('silhouette', 'cosine'),
    'rules_merge'       :   0.8     , # grammar rules merge threshold
    'rules_aggregation' :   0.2     , # grammar rules aggregation threshold
    'top_level'         :   0.01    , # top-level rules generalization threshold
    'tmpath'        :   tmpath      , 
    'verbose'       :   'min'       ,
    'template_path' :   'poc-turtle',
    'linkage_limit' :   1000        ,
    'categories_generalization': 'off'}
lines = [
    [11, 'POC-English-Amb'    , 'MST-fixed-manually'             , 0  , 0 , 'none'  ], 
    [12, 'POC-English-Amb'    , 'MST-fixed-manually'             , 0  , 0 , 'rules' ], 
    [13, 'POC-English-Amb'    , 'LG-English'                     , 0  , 0 , 'none'  ], 
    [14, 'POC-English-Amb'    , 'LG-English'                     , 0  , 0 , 'rules' ], 
    [15, 'POC-English-Amb'    , 'R=6-Weight=6:R-mst-weight=+1:R' , 0  , 0 , 'none'  ], 
    [16, 'POC-English-Amb'    , 'R=6-Weight=6:R-mst-weight=+1:R' , 0  , 0 , 'rules' ], 
    [17, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R' , 0  , 0 , 'none'  ], 
    [18, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R' , 0  , 0 , 'rules' ], 
    [19, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R-agm-opt' , 0  , 0 , 'none'  ], 
    [20, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R-agm-opt' , 0  , 0 , 'rules' ], 
    [21, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R-agm-100' , 0  , 0 , 'none'  ], 
    [22, 'POC-English-disAmb' , 'R=6-Weight=6:R-mst-weight=+1:R-agm-100' , 0  , 0 , 'rules' ], 
    [23, 'POC-English-Amb'    , 'R=6-Weight=1-mst-weight=+1:R'   , 0  , 0 , 'none'  ], 
    [24, 'POC-English-disAmb' , 'R=6-Weight=1-mst-weight=+1:R'   , 0  , 0 , 'none'  ], 
    [25, 'POC-English-disAmb' , 'R=6-Weight=1-mst-weight=+1:R-agm-opt' , 0  , 0 , 'none'  ], 
    [26, 'POC-English-disAmb' , 'R=6-Weight=1-mst-weight=+1:R-agm-100' , 0  , 0 , 'none'  ], 
    [27, 'POC-English-Amb'    , 'LG-ANY-all-parses'              , 0  , 0 , 'none'  ], 
    [28, 'POC-English-disAmb' , 'LG-ANY-all-parses'              , 0  , 0 , 'none'  ], 
    [29, 'POC-English-disAmb' , 'LG-ANY-all-parses-agm-opt'      , 0  , 0 , 'none'  ], 
    [30, 'POC-English-disAmb' , 'LG-ANY-all-parses-agm-100'      , 0  , 0 , 'none' ]]
rp = module_path + '/data/POC-English-Amb/MST-fixed-manually/poc-english_ex-parses-gold.txt'
cp = rp # corpus path = reference path

Baseline: POC-English-Amb, 5 datasets; ...-disAmb, 6 datasets

ULL Project Plan ⇒ Parses ⇒ lines 11-30

Connectors-DRK-Connectors

In [3]:
%%capture
kwargs['context'] = 1
kwargs['grammar_rules'] = 1
kwargs['word_space'] = 'vectors'
kwargs['clustering'] = ('kmeans', 'kmeans++', 10)
average21, long21, header = table_rows(lines, out_dir, cp, rp, runs, **kwargs)
table.extend(average21)
long_table.extend(long21)
In [4]:
display(html_table([header]+average21))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonecDRKc300.2873%65%0.78
13POC-English-AmbLG-English --- --- nonecDRKc310.2872%63%0.76
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc280.2485%54%0.57
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc290.2586%54%0.57
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKc300.2390%58%0.60
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKc380.1393%64%0.67
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKc220.2186%56%0.61
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKc230.2188%57%0.62
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKc240.1887%57%0.62
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKc390.1794%65%0.68
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKc230.2589%58%0.61
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKc260.2889%58%0.61
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKc240.2689%58%0.61
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKc330.1595%66%0.68

Connectors-DRK-Disjuncts

In [5]:
%%capture
kwargs['grammar_rules'] = 2
average22, long22, header = table_rows(lines, out_dir, cp, rp, runs, **kwargs)
table.extend(average22)
long_table.extend(long22)
In [6]:
display(html_table([header]+average22))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonecDRKd300.26100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulescDRKd240.26100%99%0.99
13POC-English-AmbLG-English --- --- nonecDRKd300.29100%98%0.97
14POC-English-AmbLG-English --- --- rulescDRKd240.3100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd280.2497%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd260.2299%67%0.67
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd300.2698%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd270.27100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKd300.2397%67%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulescDRKd260.23100%68%0.68
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKd400.13100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulescDRKd390.13100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd210.2197%71%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd220.298%70%0.70
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKd230.1898%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKd360.18100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKd240.2595%67%0.67
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKd250.2895%69%0.69
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKd260.2795%69%0.69
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKd350.15100%70%0.70

Disjuncts-DRK-Disjuncts

In [7]:
%%capture
kwargs['context'] = 2
average23, long23, header = table_rows(lines, out_dir, cp, rp, runs, **kwargs)
table.extend(average23)
long_table.extend(long23)
In [8]:
display(html_table([header]+average23))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonedDRKd290.26100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulesdDRKd270.25100%99%0.99
13POC-English-AmbLG-English --- --- nonedDRKd40.61100%86%0.86
14POC-English-AmbLG-English --- --- rulesdDRKd40.61100%85%0.84
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedDRKd50.48100%68%0.68
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdDRKd50.48100%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedDRKd350.2398%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdDRKd340.23100%69%0.69
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedDRKd30.46100%68%0.68
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdDRKd30.46100%68%0.68
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedDRKd410.08100%72%0.72
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdDRKd430.08100%73%0.73
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedDRKd200.4598%71%0.71
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedDRKd190.4395%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedDRKd300.3198%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedDRKd430.11100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedDRKd40.79100%71%0.71
28POC-English-disAmbLG-ANY-all-parses --- --- nonedDRKd290.2495%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedDRKd210.2195%70%0.70
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedDRKd280.08100%72%0.72

Disjuncts-ILE-Disjuncts

In [9]:
%%capture
kwargs['context'] = 2
kwargs['word_space'] = 'discrete'
kwargs['clustering'] = 'group'
kwargs['grammar_rules'] = 2
average24, long24, header = table_rows(lines, out_dir, cp, rp, runs, **kwargs)
table.extend(average24)
long_table.extend(long24)
In [10]:
display(html_table([header]+average24))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonedILEd37 --- 100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdILEd28 --- 100%99%0.99
13POC-English-AmbLG-English --- --- nonedILEd37 --- 100%98%0.97
14POC-English-AmbLG-English --- --- rulesdILEd30 --- 100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedILEd38 --- 97%66%0.66
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdILEd34 --- 99%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedILEd39 --- 98%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdILEd35 --- 100%69%0.69
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedILEd42 --- 96%66%0.66
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdILEd35 --- 100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedILEd61 --- 100%73%0.73
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdILEd54 --- 100%73%0.73
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedILEd39 --- 97%69%0.69
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedILEd41 --- 95%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedILEd44 --- 97%66%0.66
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedILEd59 --- 100%70%0.70
27POC-English-AmbLG-ANY-all-parses --- --- nonedILEd38 --- 95%67%0.67
28POC-English-disAmbLG-ANY-all-parses --- --- nonedILEd39 --- 95%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedILEd42 --- 95%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedILEd61 --- 100%72%0.72

Disjuncts-ALE-Disjuncts

In [11]:
%%capture
kwargs['word_space'] = 'sparse'
kwargs['cluster_range'] = (2,36,1,1)
kwargs['clustering'] = ('agglomerative', 'ward')
kwargs['clustering_metric'] = ('silhouette', 'cosine')
average25, long25, header = table_rows(lines, out_dir, cp, rp, runs, **kwargs)
table.extend(average25)
long_table.extend(long25)
In [12]:
display(html_table([header]+average25))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonedALEd21 --- 100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdALEd18 --- 100%99%0.99
13POC-English-AmbLG-English --- --- nonedALEd15 --- 100%95%0.95
14POC-English-AmbLG-English --- --- rulesdALEd14 --- 100%95%0.95
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd19 --- 97%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd18 --- 99%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd11 --- 98%65%0.65
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd10 --- 100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedALEd23 --- 97%66%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdALEd22 --- 100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedALEd24 --- 100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdALEd23 --- 100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd23 --- 97%70%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd23 --- 95%69%0.69
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedALEd24 --- 98%70%0.70
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedALEd21 --- 100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedALEd24 --- 95%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonedALEd29 --- 95%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedALEd28 --- 95%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedALEd21 --- 100%73%0.73

All tests ⇒ short_table.txt

In [13]:
display(html_table([header]+long_table))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonecDRKc 30 0.2873%65%0.78
13POC-English-AmbLG-English --- --- nonecDRKc 31 0.2872%63%0.76
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc 28 0.2485%54%0.57
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc 29 0.2586%54%0.57
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKc 30 0.2390%58%0.60
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKc 38 0.1393%64%0.67
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKc 22 0.2186%56%0.61
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKc 23 0.2188%57%0.62
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKc 24 0.1887%57%0.62
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKc 39 0.1794%65%0.68
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKc 23 0.2589%58%0.61
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKc 26 0.2889%58%0.61
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKc 24 0.2689%58%0.61
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKc 33 0.1595%66%0.68
11POC-English-AmbMST-fixed-manually --- --- nonecDRKd 30 0.26100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulescDRKd 24 0.26100%99%0.99
13POC-English-AmbLG-English --- --- nonecDRKd 30 0.29100%98%0.97
14POC-English-AmbLG-English --- --- rulescDRKd 24 0.3100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd 28 0.2497%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd 26 0.2299%67%0.67
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd 30 0.2698%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd 27 0.27100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKd 30 0.2397%67%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulescDRKd 26 0.23100%68%0.68
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKd 40 0.13100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulescDRKd 39 0.13100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd 21 0.2197%71%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd 22 0.298%70%0.70
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKd 23 0.1898%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKd 36 0.18100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKd 24 0.2595%67%0.67
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKd 25 0.2895%69%0.69
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKd 26 0.2795%69%0.69
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKd 35 0.15100%70%0.70
11POC-English-AmbMST-fixed-manually --- --- nonedDRKd 29 0.26100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulesdDRKd 27 0.25100%99%0.99
13POC-English-AmbLG-English --- --- nonedDRKd 4 0.61100%86%0.86
14POC-English-AmbLG-English --- --- rulesdDRKd 4 0.61100%85%0.84
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedDRKd 5 0.48100%68%0.68
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdDRKd 5 0.48100%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedDRKd 35 0.2398%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdDRKd 34 0.23100%69%0.69
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedDRKd 3 0.46100%68%0.68
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdDRKd 3 0.46100%68%0.68
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedDRKd 41 0.08100%72%0.72
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdDRKd 43 0.08100%73%0.73
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedDRKd 20 0.4598%71%0.71
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedDRKd 19 0.4395%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedDRKd 30 0.3198%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedDRKd 43 0.11100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedDRKd 4 0.79100%71%0.71
28POC-English-disAmbLG-ANY-all-parses --- --- nonedDRKd 29 0.2495%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedDRKd 21 0.2195%70%0.70
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedDRKd 28 0.08100%72%0.72
11POC-English-AmbMST-fixed-manually --- --- nonedILEd 37 --- 100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdILEd 28 --- 100%99%0.99
13POC-English-AmbLG-English --- --- nonedILEd 37 --- 100%98%0.97
14POC-English-AmbLG-English --- --- rulesdILEd 30 --- 100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedILEd 38 --- 97%66%0.66
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdILEd 34 --- 99%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedILEd 39 --- 98%67%0.67
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdILEd 35 --- 100%69%0.69
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedILEd 42 --- 96%66%0.66
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdILEd 35 --- 100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedILEd 61 --- 100%73%0.73
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdILEd 54 --- 100%73%0.73
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedILEd 39 --- 97%69%0.69
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedILEd 41 --- 95%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedILEd 44 --- 97%66%0.66
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedILEd 59 --- 100%70%0.70
27POC-English-AmbLG-ANY-all-parses --- --- nonedILEd 38 --- 95%67%0.67
28POC-English-disAmbLG-ANY-all-parses --- --- nonedILEd 39 --- 95%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedILEd 42 --- 95%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedILEd 61 --- 100%72%0.72
11POC-English-AmbMST-fixed-manually --- --- nonedALEd 21 --- 100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdALEd 18 --- 100%99%0.99
13POC-English-AmbLG-English --- --- nonedALEd 15 --- 100%95%0.95
14POC-English-AmbLG-English --- --- rulesdALEd 14 --- 100%95%0.95
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd 19 --- 97%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd 18 --- 99%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd 11 --- 98%65%0.65
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd 10 --- 100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedALEd 23 --- 97%66%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdALEd 22 --- 100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedALEd 24 --- 100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdALEd 23 --- 100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd 23 --- 97%70%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd 23 --- 95%69%0.69
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedALEd 24 --- 98%70%0.70
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedALEd 21 --- 100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedALEd 24 --- 95%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonedALEd 29 --- 95%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedALEd 28 --- 95%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedALEd 21 --- 100%73%0.73
In [14]:
print(UTC(), ':: finished, elapsed', str(round((time.time()-start)/3600, 1)), 'hours')
table_str = list2file(table, out_dir+'/short_table.txt')
if runs == (1,1):
    print('Results saved to', out_dir + '/short_table.txt')
else:
    long_table_str = list2file(long_table, out_dir+'/long_table.txt')
    print('Average results saved to', out_dir + '/short_table.txt\n'
          'Detailed results for every run saved to', out_dir + '/long_table.txt')
2018-12-31 13:41:39 UTC :: finished, elapsed 0.3 hours
Results saved to /home/obaskov/94/language-learning/output/POC-English-2018-12-31/short_table.txt