Python Forum
KNN algorithm Assignment can't understand the question
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KNN algorithm Assignment can't understand the question
#7
I think you need clarification. You can use sklearn to do your knn classification, typically you would use Pandas to read the data. If you search the sklearn docs for distance you will see lots of options so you can use sklearn for that.

I remain confused as to whether they are wanting you to mimic the knn process, measuring distances from arbitrary staring points and assigning to the cluster by which point the data is closest to, or something else. Is that what they want?
Reply


Messages In This Thread
RE: KNN algorithm Assignment can't understand the question - by jefsummers - May-25-2020, 11:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question code from datacamp I don't understand fad3r 3 3,962 Feb-04-2018, 08:44 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020