
What is the value of K in KNN in classification learner app?
15 ビュー (過去 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!