Hi,
My question is regarding the calculation of linear score results for tokens. I am currently using this method:
token.getScore();
but this seems to return the value in LogMath log domain. When I use this method:
logMath.logToLinear((float)token.getScore()
to get the log still some very varrying values are returned. (even after I format using DecimalFormat format = new DecimalFormat("#.#####");
Should I normalize these values and if so how? How can I convert the value into a percentage?
Thanks and Best Regards, Foad
Log in to post a comment.
Hi,
My question is regarding the calculation of linear score results for tokens. I am currently using this method:
token.getScore();
but this seems to return the value in LogMath log domain. When I use this method:
logMath.logToLinear((float)token.getScore()
to get the log still some very varrying values are returned. (even after I format using DecimalFormat format = new DecimalFormat("#.#####");
Should I normalize these values and if so how? How can I convert the value into a percentage?
Thanks and Best Regards,
Foad