Sunday, March 29, 2009

How to normalize data points to be within specefic range?

(score - min) / range, range is abs(Min)+abs(Max)
this will give always numbers between 0 and 1

score / (range/2) will normalize numbers between -1 and 1

This can be used if you want to graph a set of points on a limited workspace like a computer screen.

2 comments:

Ravi said...

Thank you very much for this tip. I'll find it very useful.

Clueless said...
This comment has been removed by the author.