Arun Mohan
1 min readApr 22, 2020

Yes Jane, you are right. Suppose we have k(no of neighbors hyper parameter) = 5.

  • As you said first for k = 1, train on 90% data and predicts rest 10%. then repeats that 9 more times each with a different 10% of data heldout, then the average of those 10 prediction trial is stored for k =1
  • This is repeated from k=1 to k= 5

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Arun Mohan
Arun Mohan

No responses yet

Write a response