
What is the value of K in KNN in classification learner app?
조회 수: 6 (최근 30일)
이전 댓글 표시
Rashidul Alim Anik
2022년 5월 17일
답변: Abhijit Bhattacharjee
2022년 5월 19일
I've trained my dataset with KNN classifier in classification learner app.I want to know the value of K.
댓글 수: 0
채택된 답변
Abhijit Bhattacharjee
2022년 5월 19일
K in KNN is the number of nearest neighbors. This is a user-supplied parameter. If you open the Classification Learner App and load some data for a KNN model, you might see a window similar to the following:

See the circled area in red - that is where you choose K.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!