Re: scoring between 0 and 1

From: Lynn Kurtz (kurtzDELETE-THIS_at_asu.edu)
Date: 01/23/05


Date: Sun, 23 Jan 2005 23:38:16 GMT

On Sun, 23 Jan 2005 23:43:33 +0100, Floortje
<floortje-apestaartjexs4allpuntnl@hetminnetjehoort.erbij> wrote:

>Hi, I got a problem wich I have no idea on how to fix.
>
>I have a quiz where someone is supposed to guess a certain numer
>(4400). For a correct awnser (difference=0) they get 1 point and the
>further away they are they should lose more of that point but never
>reach zero. Is there a forumula that will give (0)=1 and |(inf)|=0 ?
>
>Thx in advance ,
>
>Floortje

If their guess might be any real number and the number they are trying
to guess is N, the you might look at score = exp(- k * | x - N |)
where k adjusts the steepness of dropping off to zero. I'm guessing
you might want small k values like .01 or smaller.

If their guess is from [0, infinity) you might try something like:

score = (1/N) x exp(-(1/N) x + 1)

--Lynn



Relevant Pages


Quantcast