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

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 
主站蜘蛛池模板: 灵台县| 和顺县| 肥城市| 赤壁市| 始兴县| 长沙市| 大田县| 突泉县| 铜川市| 新野县| 房产| 民丰县| 古田县| 朝阳区| 兴仁县| 淮南市| 太白县| 长治市| 香格里拉县| 南溪县| 会泽县| 沂南县| 长白| 铜陵市| 阳谷县| 桑日县| 博野县| 敦煌市| 伊通| 绍兴市| 泰来县| 曲松县| 东安县| 邳州市| 思南县| 德州市| 苍山县| 正定县| 文登市| 东阳市| 木里|