testing slipcover
This commit is contained in:
parent
b3a11b339a
commit
729b798a23
34
packages/cplint/slipcover/ai_train.rules
Normal file
34
packages/cplint/slipcover/ai_train.rules
Normal file
@ -0,0 +1,34 @@
|
||||
/* SLIPCASE Final CLL -0.461865
|
||||
Execution time 100.887000
|
||||
setting(epsilon_em,0.0001).
|
||||
setting(epsilon_em_fraction,1.0e-5).
|
||||
setting(eps,0.0001).
|
||||
setting(eps_f,1.0e-5).
|
||||
setting(epsilon_sem,2).
|
||||
setting(random_restarts_REFnumber,1).
|
||||
setting(random_restarts_number,1).
|
||||
setting(iterREF,-1).
|
||||
setting(iter,-1).
|
||||
setting(examples,atoms).
|
||||
setting(group,1).
|
||||
setting(d,1).
|
||||
setting(verbosity,1).
|
||||
setting(logzero,log(1.0e-6)).
|
||||
setting(initial_clauses_modeh,1).
|
||||
setting(max_iter,10).
|
||||
setting(max_var,5).
|
||||
setting(max_rules,10).
|
||||
setting(beamsize,20).
|
||||
setting(epsilon_parsing,1.0e-10).
|
||||
setting(tabling,off).
|
||||
setting(bagof,false).
|
||||
setting(depth_bound,false).
|
||||
setting(depth,2).
|
||||
setting(single_var,false).
|
||||
setting(compiling,off).
|
||||
*/
|
||||
|
||||
advisedby(A,B):0.264403 :-
|
||||
professor(B),
|
||||
student(A).
|
||||
|
4
packages/cplint/slipcover/hep1.cpl
Normal file
4
packages/cplint/slipcover/hep1.cpl
Normal file
@ -0,0 +1,4 @@
|
||||
type(_A,type_b):0.5.
|
||||
|
||||
type(_A,type_c):0.5.
|
||||
|
259520
packages/cplint/slipcover/hep1.kb
Normal file
259520
packages/cplint/slipcover/hep1.kb
Normal file
File diff suppressed because it is too large
Load Diff
151
packages/cplint/slipcover/hep1.l
Normal file
151
packages/cplint/slipcover/hep1.l
Normal file
@ -0,0 +1,151 @@
|
||||
output(type/2).
|
||||
|
||||
input(fibros/2).
|
||||
input(activity/2).
|
||||
input(sex/2).
|
||||
input(action/2).
|
||||
input(age/2).
|
||||
input(type/2).
|
||||
input(got/2).
|
||||
input(gpt/2).
|
||||
input(tbil/2).
|
||||
input(dbil/2).
|
||||
input(che/2).
|
||||
input(ttt/2).
|
||||
input(ztt/2).
|
||||
input(tcho/2).
|
||||
input(tp/2).
|
||||
input(dur/2).
|
||||
input(b_rel11/2).
|
||||
input(b_rel12/2).
|
||||
input(b_rel13/2).
|
||||
|
||||
|
||||
modeh(*,type(+m,type_b)).
|
||||
modeh(*,type(+m,type_c)).
|
||||
|
||||
determination(type/2,sex/2).
|
||||
determination(type/2,age/2).
|
||||
|
||||
determination(type/2,b_rel11/2).
|
||||
determination(type/2,b_rel12/2).
|
||||
determination(type/2,b_rel13/2).
|
||||
|
||||
determination(type/2,fibros/2).
|
||||
determination(type/2,activity/2).
|
||||
determination(type/2,got/2).
|
||||
determination(type/2,gpt/2).
|
||||
determination(type/2,tbil/2).
|
||||
determination(type/2,dbil/2).
|
||||
determination(type/2,che/2).
|
||||
determination(type/2,ttt/2).
|
||||
determination(type/2,ztt/2).
|
||||
determination(type/2,tcho/2).
|
||||
determination(type/2,tp/2).
|
||||
determination(type/2,dur/2).
|
||||
|
||||
modeb(*,b_rel11(-b,+m)).
|
||||
modeb(*,b_rel12(-i,+m)).
|
||||
modeb(*,b_rel13(-a,+m)).
|
||||
|
||||
modeb(*,b_rel11(+b,-m)).
|
||||
modeb(*,b_rel12(+i,-m)).
|
||||
modeb(*,b_rel13(+a,-m)).
|
||||
|
||||
|
||||
modeb(*,fibros(+b,fibros_0)).
|
||||
modeb(*,fibros(+b,fibros_1)).
|
||||
modeb(*,fibros(+b,fibros_2)).
|
||||
modeb(*,fibros(+b,fibros_3)).
|
||||
modeb(*,fibros(+b,fibros_4)).
|
||||
modeb(*,activity(+b,activity_0)).
|
||||
modeb(*,activity(+b,activity_1)).
|
||||
modeb(*,activity(+b,activity_2)).
|
||||
modeb(*,activity(+b,activity_3)).
|
||||
modeb(*,activity(+b,activity_false)).
|
||||
modeb(*,sex(+m,sex_f)).
|
||||
modeb(*,sex(+m,sex_m)).
|
||||
modeb(*,age(+m,age_0)).
|
||||
modeb(*,age(+m,age_1)).
|
||||
modeb(*,age(+m,age_2)).
|
||||
modeb(*,age(+m,age_3)).
|
||||
modeb(*,age(+m,age_4)).
|
||||
modeb(*,age(+m,age_5)).
|
||||
modeb(*,age(+m,age_6)).
|
||||
modeb(*,got(+i,got_1)).
|
||||
modeb(*,got(+i,got_2)).
|
||||
modeb(*,got(+i,got_3)).
|
||||
modeb(*,got(+i,got_4)).
|
||||
modeb(*,got(+i,got_5)).
|
||||
modeb(*,gpt(+i,gpt_1)).
|
||||
modeb(*,gpt(+i,gpt_2)).
|
||||
modeb(*,gpt(+i,gpt_3)).
|
||||
modeb(*,gpt(+i,gpt_4)).
|
||||
modeb(*,tbil(+i,tbil_1)).
|
||||
modeb(*,tbil(+i,tbil_2)).
|
||||
modeb(*,dbil(+i,dbil_1)).
|
||||
modeb(*,dbil(+i,dbil_2)).
|
||||
modeb(*,che(+i,che_1)).
|
||||
modeb(*,che(+i,che_2)).
|
||||
modeb(*,che(+i,che_3)).
|
||||
modeb(*,che(+i,che_4)).
|
||||
modeb(*,che(+i,che_5)).
|
||||
modeb(*,che(+i,che_6)).
|
||||
modeb(*,che(+i,che_7)).
|
||||
modeb(*,che(+i,che_8)).
|
||||
modeb(*,che(+i,che_9)).
|
||||
modeb(*,che(+i,che_10)).
|
||||
modeb(*,ttt(+i,ttt_1)).
|
||||
modeb(*,ttt(+i,ttt_2)).
|
||||
modeb(*,ttt(+i,ttt_3)).
|
||||
modeb(*,ttt(+i,ttt_4)).
|
||||
modeb(*,ttt(+i,ttt_5)).
|
||||
modeb(*,ttt(+i,ttt_6)).
|
||||
modeb(*,ztt(+i,ztt_1)).
|
||||
modeb(*,ztt(+i,ztt_2)).
|
||||
modeb(*,ztt(+i,ztt_3)).
|
||||
modeb(*,ztt(+i,ztt_4)).
|
||||
modeb(*,ztt(+i,ztt_5)).
|
||||
modeb(*,ztt(+i,ztt_6)).
|
||||
modeb(*,tcho(+i,tcho_1)).
|
||||
modeb(*,tcho(+i,tcho_2)).
|
||||
modeb(*,tcho(+i,tcho_3)).
|
||||
modeb(*,tcho(+i,tcho_4)).
|
||||
modeb(*,tp(+i,tp_1)).
|
||||
modeb(*,tp(+i,tp_2)).
|
||||
modeb(*,tp(+i,tp_3)).
|
||||
modeb(*,tp(+i,tp_4)).
|
||||
modeb(*,dur(+a,dur_0)).
|
||||
modeb(*,dur(+a,dur_1)).
|
||||
modeb(*,dur(+a,dur_2)).
|
||||
modeb(*,dur(+a,dur_3)).
|
||||
modeb(*,dur(+a,dur_4)).
|
||||
modeb(*,fibros(+b,-f)).
|
||||
modeb(*,activity(+b,-a)).
|
||||
modeb(*,sex(+m,-sex)).
|
||||
modeb(*,age(+m,-age)).
|
||||
modeb(*,got(+i,-got)).
|
||||
modeb(*,gpt(+i,-gpt)).
|
||||
modeb(*,tbil(+i,-tbil)).
|
||||
modeb(*,dbil(+i,-dbil)).
|
||||
modeb(*,che(+i,-che)).
|
||||
modeb(*,ttt(+i,-ttt)).
|
||||
modeb(*,ztt(+i,-ztt)).
|
||||
modeb(*,tcho(+i,-tcho)).
|
||||
modeb(*,tp(+i,-tp)).
|
||||
modeb(*,dur(+a,dur)).
|
||||
|
||||
lookahead(b_rel11(A,_),[fibros(A,_)]).
|
||||
lookahead(b_rel11(A,_),[activity(A,_)]).
|
||||
|
||||
lookahead(b_rel12(A,_),[got(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[gpt(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[tbil(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[dbil(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[che(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[ttt(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[ztt(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[tcho(A,_)]).
|
||||
lookahead(b_rel11(A,_B),[tp(A,_)]).
|
||||
lookahead(b_rel13(A,_B),[dur(A,_)]).
|
||||
|
40
packages/cplint/slipcover/hep1.rules
Normal file
40
packages/cplint/slipcover/hep1.rules
Normal file
@ -0,0 +1,40 @@
|
||||
/* SLIPCASE Final CLL -2.525186
|
||||
Execution time 45.693000
|
||||
setting(epsilon_em,0.0001).
|
||||
setting(epsilon_em_fraction,1.0e-5).
|
||||
setting(eps,0.0001).
|
||||
setting(eps_f,1.0e-5).
|
||||
setting(epsilon_sem,2).
|
||||
setting(random_restarts_REFnumber,1).
|
||||
setting(random_restarts_number,1).
|
||||
setting(iterREF,-1).
|
||||
setting(iter,-1).
|
||||
setting(examples,atoms).
|
||||
setting(group,1).
|
||||
setting(d,1).
|
||||
setting(verbosity,1).
|
||||
setting(logzero,log(1.0e-6)).
|
||||
setting(initial_clauses_modeh,1).
|
||||
setting(max_iter,10).
|
||||
setting(max_var,5).
|
||||
setting(max_rules,10).
|
||||
setting(beamsize,20).
|
||||
setting(epsilon_parsing,1.0e-10).
|
||||
setting(tabling,off).
|
||||
setting(bagof,false).
|
||||
setting(depth_bound,false).
|
||||
setting(depth,2).
|
||||
setting(single_var,false).
|
||||
setting(compiling,off).
|
||||
*/
|
||||
|
||||
type(A,type_b):0.215232.
|
||||
|
||||
type(A,type_c):0.513334 :-
|
||||
b_rel11(B,A),
|
||||
fibros(B,C),
|
||||
b_rel11(D,A),
|
||||
fibros(B,E).
|
||||
|
||||
type(A,type_b):0.257763.
|
||||
|
Reference in New Issue
Block a user