What is the value of K in KNN in classification learner app?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Rashidul Alim Anik
il 17 Mag 2022
Risposto: Abhijit Bhattacharjee
il 19 Mag 2022
I've trained my dataset with KNN classifier in classification learner app.I want to know the value of K.
0 Commenti
Risposta accettata
Abhijit Bhattacharjee
il 19 Mag 2022
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 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!