mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-11-29 08:25:10 +00:00
M3b: use ECLiPSe natural log in UCB
This commit is contained in:
@@ -57,7 +57,7 @@ ucb_score(Mean, Count, Total, Explore, Score) :-
|
|||||||
( Total =< 1 ->
|
( Total =< 1 ->
|
||||||
Bonus = 0.0
|
Bonus = 0.0
|
||||||
;
|
;
|
||||||
Bonus is Explore * sqrt(log(Total) / Count)
|
Bonus is Explore * sqrt(ln(Total) / Count)
|
||||||
),
|
),
|
||||||
Score is Mean + Bonus.
|
Score is Mean + Bonus.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user