Nearest-neighbour methods
What is the difference between a parametric machine learning method and a non-parametric one? Is k-NN parametric?
Parametric methods have a pre-defined number of parameters, while non-parametric methods do not, and usually require memorising points from the dataset. K-NN is a non- parametric method.
Classify the data point with question mark with the 2-nearest neighbour method. Justify your answer.
Copyright By Assignmentchef assignmentchef
your answer.
Classify the data point with question mark with the 4-nearest neighbour method. Justify
The two closest points are
will also be classified as a triangle.
a3 , and both are of class triangle, so the new point
a1, a2, a3, b1 the new point will be classified as a triangle.
In this case the four closest points are
. The class that appears the most is triangle, so
CS: assignmentchef QQ: 1823890830 Email: [email protected]
Reviews
There are no reviews yet.