APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Following are the two statements given for k-NN algorIthm, which of the statement(s)is/are true?We can choose optimal value of k with the help of cross validationEuclidean distance treats each feature as equally important
|
1
|
|
2
|
|
1 and 2
|
|
None of these Both the statements are true
|
Explanation:
Detailed explanation-1: -The optimal K value usually found is the square root of N, where N is the total number of samples. Use an error plot or accuracy plot to find the most favorable K value. KNN performs well with multi-label classes, but you must be aware of the outliers.
Detailed explanation-2: -Disadvantages of KNN Algorithm: Always needs to determine the value of K which may be complex some time. The computation cost is high because of calculating the distance between the data points for all the training samples.
There is 1 question to complete.