I am trying to generate a small algorithm which will give a user a decimal from 1, depending on their How close the answer is, for a true answer, these answers will always be numeric and 'How many X did this?' I am setting a sensible maximum and minimum value for each answer, where the user is more than answering, they will not do anything, although there is little stuck on creating an equation ... for example, right Answer can be 100 and can be set as a sensible minimum 50. The user specifying 75 gives a score of 0.5
It may be a bit complicated, but it would also be nice to allocate points on the fact that the result is not linear and thus the weight is high as you
If you want scoring to be non-linear (Answer Areas to reward proximity) so you can try a 'Scverd discrepancies "formula eg.
score = 1 - (abdominal (answer - input) / (answer - minimum)) ^ 2
For example with correct = 100, Min = 60, Answer = 70 You will get:
score = 1 - (abdomen ((100 - 70) / (100 - 60)) ^ 2 = 0.4375
If you want to give a big reward for proximity, then you can use a high power note that the division will be zero if answer = minimum.
Comments
Post a Comment