From 29b5987c4f59a28f122d324fffa98dcb35247676 Mon Sep 17 00:00:00 2001 From: Alexandre Linhares Date: Thu, 28 Sep 2017 00:46:19 -0300 Subject: [PATCH] ...and bingo! --- copycat/temperature.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/copycat/temperature.py b/copycat/temperature.py index 0296436..d03e6c2 100644 --- a/copycat/temperature.py +++ b/copycat/temperature.py @@ -164,7 +164,15 @@ class Temperature(object): Which leads me to suspect that someone may have overfitted the model for either xyz or iijjkk or some other problem, and one - improvement there means disaster here. + improvement there means disaster here. + + Something tells me to invert again to 1-entropy... and bingo! + + iijjll: 59 (avg time 797.4, avg temp 19.8) + iijjkl: 41 (avg time 696.1, avg temp 28.5) + + + Need to play with this more... and WTF is f anyways? """ @@ -176,4 +184,4 @@ class Temperature(object): a = math.sqrt(coldness) c = (10 - a) / 100 f = (c + 1) * value - return (-f * math.log2(f)) # max(f, 0.0000) + return (1 - (-f * math.log2(f))) # max(f, 0.0000)