This commit is contained in:
Vitor Santos Costa
2018-10-13 08:45:40 +01:00
parent 7772699ef7
commit e747b7f9c1
7 changed files with 324 additions and 413 deletions

View File

@@ -833,7 +833,6 @@ gradient_descent :-
forall(tunable_fact(FactID,GroundTruth),
(XZ is 0.5, X[FactID] <== XZ,set_fact_probability(FactID,XZ))),
problog_flag(sigmoid_slope,Slope),
lbfgs_set_parameter(min_step, Solver, 0.0),
lbfgs_run(Solver,BestF),
format('~2nOptimization done~nWe found a minimum ~4f.~n',[BestF]),
forall(tunable_fact(FactID,GroundTruth), set_tunable(FactID,X)),