This commit is contained in:
Vitor Santos Costa
2018-10-05 10:26:34 +01:00
parent 724681dde8
commit 5ea98bcf53
7 changed files with 1346 additions and 192 deletions

View File

@@ -14,8 +14,8 @@
% will run 20 iterations of learning with default settings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- use_module(library(problog)).
:- use_module(library(problog_learning)).
:- use_module(library(matrix)).
:- use_module(('../problog_lbfgs')).
%%%%
% background knowledge
@@ -99,3 +99,7 @@ test_example(33,path(5,4),0.57).
test_example(34,path(6,4),0.51).
test_example(35,path(6,5),0.69).
:- set_problog_flag(init_method,(Query,_,BDD,
problog_exact_lbdd(user:Query,BDD))).