To scale x into target range [a,b] xnormalized=(b−a)max(x)−min(x)x−min(x)+a Example, Scaling [0,60] minute to [0,1] range such that 30 minute will be expressed as 0.5 normalized value. xnormalized=(1−0)60−0x−0+0substiute arbitary value into x such as 30,0.5=(1−0)60−030−0+0 Reference pulled from internet §