About the accuracy and impementaion

i have got the score of 78% is this a good score and one more that i have used sklearn in it as i was not able to plot even the train dataset so i preferred this approach. what i did in ploting

plt.scatter(x[:,0],x[:,1],x[:,2],x[:,3],x[:,4],x[:,5],x[:,6],x[:,7],c=y)

where x is xtrain and y is ytrain
error
scatter() got multiple values for argument ‘c’

cant get its solution on the google also
P.S. x.shape=(576, 8)
y,shape=(576, 1)
help::pray::thinking:


even sklearn warns about shape

Hi satvik,
You can’t plot so many dimensions it would need you a 6D space. We can only plot 2D.
So visualization part you can skip in this challenge. Just perform normal knn algorithm on this dataset like you did with dataset having 2features.
So, the key point is - when you have features more than 2 you can’t visualize the dataset.
and I would not encourage you to use sklearn at this early stage.

78% is a good accuracy with knn in this dataset. If you want higher accuracy you can use other algorithms

Thanks :slight_smile:

1 Like

thanks a lot i got wht you said.
:grinning:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.