Transforming range of variable to 0 to 1 and custom ranges
One useful skill when it comes to dealing with variables is to be able to change their range.
One of the most useful and desirable ranges is [0,1]. Occasionally you might need a different range like [-1,1], too. This article describes a couple of methods of scaling and descaling ...
Read more »