Question: To apply k-NN to problems with real-valued attributes, it is important to scale the attributes beforehand. One standard approach to scaling the values of an
To apply k-NN to problems with real-valued attributes, it is important to scale the attributes beforehand. One standard approach to scaling the values of an attribute xi is to replace each xi by the following value:


Ci - xmin max _ _min Here xmi and amor are the minimum and maximum values of x; in the training set. This ensures that all values of x; in the training set will be between 0 and 1.\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
