user_data_based_AI_based_rank_estimation-perfect-play-patch

This commit is contained in:
bale-go committed 2020-06-26 22:50:07 +02:00
1 parent 8d732dc2c3
commit 9708680504
1 file changed
-3
-3
View File
@@ -198,9 +198,6 @@ class RankGraph(Graph):
rank = tuple(rank)
averagemod_rank = averagemod(rank)
averagemod_len_legal = averagemod(num_legal)
# n_moves = math.floor(0.40220696 + averagemod_len_legal / (1.313341 * (averagemod_rank + 1) - 0.088646986))
# # using the calibration curve of p:pick:rank
# rank_kyu = (math.log10(n_moves * 361 / num_intersec) - 1.9482) / -0.05737
# the averagemod_rank is the outlier free average of the best move from a selection of n_moves with averagemod_len_legal of total legal moves
if averagemod_rank>0.4:
rank_kyu = -0.62842816*math.log(averagemod_rank)/(0.17050253+averagemod_rank*math.exp(-1*(3.373914*(averagemod_len_legal/num_intersec))**2))+13.588577*(averagemod_len_legal/num_intersec)+10.405252*math.log(averagemod_rank)+12.417778*math.exp(-1*(2.5190649*(averagemod_len_legal/num_intersec))**2)-14.579846