Question 33
Go through the code snippet given below and answer the subquestions.
X = [[0,1],[3,4], [4,5],[1,2],[2,3], [5,6]]y = [0, 1, 1,0,0,1]from sklearn.neighbors import RadiusNeighborsClassifierneigh = RadiusNeighborsClassifier(radius=1.0, P=1)neigh.fit(X, y)print(neigh.predict([[2.8,3.8]]))Which of the following is likely to be the correct output of the given code ?
[2]
[0]
[1]
[3]