POC-English baseline test 2018-11-08, Link Grammar 5.5.1.

Agglomerative clustering, test_grammar updated 2018-10-19, Link Grammar 5.5.1; server 88.99.210.144.
This notebook is shared as static POC-English-2018-11-08.html
The "All tests" table is shared as 'short_table.txt' in POC-English-2018-11-08 directory.
Previous tests: POC-English-2018-10-23.html, POC-English-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-11-08 09:50:27 UTC :: module_path = /home/obaskov/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 = {
    'left_wall'     :   ''          ,
    'period'        :   False       ,
    'min_word_count':   1           ,
    'min_link_count':   1           ,
    'max_words'     :   100000      ,
    'max_features'  :   100000      ,
    'min_co-occurrence_count':  1   ,
    'min_co-occurrence_probability': 1e-9,
    'word_space'    :   'vectors'   ,
    'clustering'    :   ('kmeans', 'kmeans++', 10),
    'cluster_range' :   (2,50,1,5)  ,
    'cluster_criteria': 'silhouette',
    'clustering_metric': ('silhouette', 'cosine'),
    '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, ...-disAmb, ...agm...

ULL Project Plan ⇒ Parses ⇒ lines 11-30

Connectors-DRK-Connectors

In [3]:
%%capture
kwargs['context'] = 1
kwargs['grammar_rules'] = 1
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.2673%65%0.78
13POC-English-AmbLG-English --- --- nonecDRKc310.2872%63%0.76
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc290.2485%55%0.58
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc290.2685%55%0.58
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKc290.2191%58%0.61
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKc410.1492%62%0.66
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.2185%57%0.63
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKc240.1890%57%0.61
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKc380.1794%65%0.68
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKc220.2589%58%0.61
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKc250.2885%55%0.58
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKc230.2787%55%0.59
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKc360.1594%65%0.67

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 --- --- rulescDRKd250.26100%99%0.99
13POC-English-AmbLG-English --- --- nonecDRKd310.3100%98%0.97
14POC-English-AmbLG-English --- --- rulescDRKd240.28100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd280.2397%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd250.2499%67%0.67
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd300.2698%66%0.66
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 --- --- nonecDRKd260.2197%66%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%71%0.71
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulescDRKd400.13100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd200.2197%71%0.71
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd240.298%72%0.72
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKd260.1898%69%0.69
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKd380.19100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKd240.2595%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKd260.2995%68%0.68
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKd240.2795%69%0.69
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKd370.15100%71%0.71

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 --- --- nonedDRKd300.25100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulesdDRKd260.28100%99%0.99
13POC-English-AmbLG-English --- --- nonedDRKd40.62100%87%0.87
14POC-English-AmbLG-English --- --- rulesdDRKd40.61100%87%0.86
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 --- --- nonedDRKd440.08100%72%0.72
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdDRKd420.08100%72%0.72
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 --- --- nonedDRKd210.4395%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedDRKd300.398%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedDRKd450.12100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedDRKd40.79100%70%0.70
28POC-English-disAmbLG-ANY-all-parses --- --- nonedDRKd310.2495%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedDRKd200.2195%70%0.70
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedDRKd420.08100%72%0.72

Disjuncts-ILE-Disjuncts

In [9]:
%%capture
kwargs['word_space'] = 'discrete'
kwargs['clustering'] = 'group'
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 --- --- nonedALEd210.29100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdALEd180.29100%99%0.99
13POC-English-AmbLG-English --- --- nonedALEd150.27100%95%0.95
14POC-English-AmbLG-English --- --- rulesdALEd140.27100%95%0.95
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd190.2897%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd180.2899%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd110.2898%65%0.65
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd100.28100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedALEd230.2797%66%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdALEd220.27100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedALEd240.14100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdALEd230.14100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd230.297%70%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd230.2195%69%0.69
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedALEd240.298%70%0.70
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedALEd210.17100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedALEd240.2595%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonedALEd290.2795%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedALEd280.2895%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedALEd210.15100%73%0.73

All tests (all entries for multi-test runs > (1.1))

In [13]:
display(html_table([header]+long_table))
LineCorpusParsingLWRWGen.SpaceRulesSilhouettePAPQF1
11POC-English-AmbMST-fixed-manually --- --- nonecDRKc 30 0.2673%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 29 0.2485%55%0.58
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKc 29 0.2685%55%0.58
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonecDRKc 29 0.2191%58%0.61
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonecDRKc 41 0.1492%62%0.66
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.2185%57%0.63
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKc 24 0.1890%57%0.61
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKc 38 0.1794%65%0.68
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKc 22 0.2589%58%0.61
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKc 25 0.2885%55%0.58
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKc 23 0.2787%55%0.59
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKc 36 0.1594%65%0.67
11POC-English-AmbMST-fixed-manually --- --- nonecDRKd 30 0.26100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulescDRKd 25 0.26100%99%0.99
13POC-English-AmbLG-English --- --- nonecDRKd 31 0.3100%98%0.97
14POC-English-AmbLG-English --- --- rulescDRKd 24 0.28100%98%0.97
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd 28 0.2397%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulescDRKd 25 0.2499%67%0.67
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonecDRKd 30 0.2698%66%0.66
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 26 0.2197%66%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%71%0.71
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulescDRKd 40 0.13100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd 20 0.2197%71%0.71
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonecDRKd 24 0.298%72%0.72
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonecDRKd 26 0.1898%69%0.69
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonecDRKd 38 0.19100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonecDRKd 24 0.2595%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonecDRKd 26 0.2995%68%0.68
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonecDRKd 24 0.2795%69%0.69
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonecDRKd 37 0.15100%71%0.71
11POC-English-AmbMST-fixed-manually --- --- nonedDRKd 30 0.25100%99%0.99
12POC-English-AmbMST-fixed-manually --- --- rulesdDRKd 26 0.28100%99%0.99
13POC-English-AmbLG-English --- --- nonedDRKd 4 0.62100%87%0.87
14POC-English-AmbLG-English --- --- rulesdDRKd 4 0.61100%87%0.86
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 44 0.08100%72%0.72
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdDRKd 42 0.08100%72%0.72
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 21 0.4395%67%0.67
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedDRKd 30 0.398%67%0.67
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedDRKd 45 0.12100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedDRKd 4 0.79100%70%0.70
28POC-English-disAmbLG-ANY-all-parses --- --- nonedDRKd 31 0.2495%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedDRKd 20 0.2195%70%0.70
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedDRKd 42 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 0.29100%100%1.00
12POC-English-AmbMST-fixed-manually --- --- rulesdALEd 18 0.29100%99%0.99
13POC-English-AmbLG-English --- --- nonedALEd 15 0.27100%95%0.95
14POC-English-AmbLG-English --- --- rulesdALEd 14 0.27100%95%0.95
15POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd 19 0.2897%65%0.65
16POC-English-AmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd 18 0.2899%68%0.68
17POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- nonedALEd 11 0.2898%65%0.65
18POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R --- --- rulesdALEd 10 0.28100%68%0.68
19POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- nonedALEd 23 0.2797%66%0.67
20POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-opt --- --- rulesdALEd 22 0.27100%69%0.69
21POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- nonedALEd 24 0.14100%69%0.69
22POC-English-disAmbR=6-Weight=6:R-mst-weight=+1:R-agm-100 --- --- rulesdALEd 23 0.14100%69%0.69
23POC-English-AmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd 23 0.297%70%0.70
24POC-English-disAmbR=6-Weight=1-mst-weight=+1:R --- --- nonedALEd 23 0.2195%69%0.69
25POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-opt --- --- nonedALEd 24 0.298%70%0.70
26POC-English-disAmbR=6-Weight=1-mst-weight=+1:R-agm-100 --- --- nonedALEd 21 0.17100%71%0.71
27POC-English-AmbLG-ANY-all-parses --- --- nonedALEd 24 0.2595%66%0.66
28POC-English-disAmbLG-ANY-all-parses --- --- nonedALEd 29 0.2795%70%0.70
29POC-English-disAmbLG-ANY-all-parses-agm-opt --- --- nonedALEd 28 0.2895%71%0.71
30POC-English-disAmbLG-ANY-all-parses-agm-100 --- --- nonedALEd 21 0.15100%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-11-08 09:58:26 UTC :: finished, elapsed 0.1 hours
Results saved to /home/obaskov/language-learning/output/POC-English-2018-11-08/short_table.txt