floats
This commit is contained in:
parent
a33f2be18b
commit
50fb5d21c0
@ -873,7 +873,7 @@ compute_grad(Grad, GradCount, Probs, Slope, LL) :-
|
|||||||
bind_maplist(MapList, Slope, Probs),
|
bind_maplist(MapList, Slope, Probs),
|
||||||
%writeln( MapList ),
|
%writeln( MapList ),
|
||||||
qprobability(BDD,Slope,BDDProb),
|
qprobability(BDD,Slope,BDDProb),
|
||||||
LL is (((BDDProb)-(QueryProb))**2),
|
LL is (BDDProb-QueryProb)*(BDDProb-QueryProb),
|
||||||
%writeln( qprobability(BDD,Slope,BDDProb) ),
|
%writeln( qprobability(BDD,Slope,BDDProb) ),
|
||||||
forall(
|
forall(
|
||||||
member(I-_, MapList),
|
member(I-_, MapList),
|
||||||
|
Reference in New Issue
Block a user