Question about KNN and how to use it.
古いコメントを表示
Hello,
I need to use KNN in matlab to find some results.
I have data in .mat that has this kind of information(training data)
1|232|34|21|542|
2|32|333|542|32|
and so on.
Then i have a second information that i will gather thro the aplication but i will only get let say
a=10|343|543|43|23
So now my question is do i only need to do is something like this http://www.mathworks.com/help/toolbox/stats/classificationknnclass.html
Best regards.
4 件のコメント
Walter Roberson
2012 年 8 月 31 日
Are the "|" literal strings there, and everything is character? Or does "|" represent column breaks in a numeric matrix ?
asd
2012 年 8 月 31 日
Walter Roberson
2012 年 9 月 1 日
Your question does not contain enough information to be answered.
What does "a" represent? Is it the "response", one entry per row of your training data?
You ask if you only need to apply a particular routine, but you do not indicate what you are trying to do, what your desired outcome is.
asd
2012 年 9 月 1 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Nearest Neighbors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!