官术网_书友最值得收藏!

Normalization

Normalization is done using the minmax concept to bring the various attributes on the same scale. It is calculated by the formula given here:

normalized = (x-min(x))/(max(x)-min(x))

So if we want to normalize the volume variable, we can do it by executing the following code:

> normalized = (Sampledata$Volume-+min(Sampledata$Volume))/(max(Sampledata$Volume)-+min(Sampledata$Volume)) 
> normalized 
主站蜘蛛池模板: 鹰潭市| 临漳县| 巨鹿县| 灵璧县| 宝清县| 丰镇市| 错那县| 连江县| 拜泉县| 明水县| 定远县| 礼泉县| 高邮市| 阜新市| 库尔勒市| 禄劝| 湾仔区| 米脂县| 孙吴县| 巨鹿县| 涡阳县| 高碑店市| 祥云县| 竹溪县| 南城县| 寿宁县| 香格里拉县| 柳江县| 尚志市| 内江市| 堆龙德庆县| 盘山县| 千阳县| 五华县| 册亨县| 三台县| 双桥区| 嫩江县| 曲周县| 宕昌县| 八宿县|