Kmeans - Too many input arguements on Train a k-Means Clustering Algorithm example
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I have downloaded the example "Train a k-Means Clustering Algorithm" https://uk.mathworks.com/help/stats/kmeans.html, but this yields the error message "error using kmeans, Too many input arguments". The same is true whatever I try and use kmeans with.
I have followed previous posts which suggest checking the version of kmeans using "which kmeans" This yields tools\statistic_tools\kmeans.m % kmeans constructor
Why is this error message appearing
댓글 수: 0
답변 (1개)
Yash Ubale
2018년 11월 15일
Hello,
Are you sharing the complete path? Looks like there is another copy of default "kmeans.m" file of the Statistics and Machine Learning Toolbox. Also, which MATLAB version are you using?
Please share the entire output after executing the following command :
which kmeans -all
Moreover, follow the answer of the following question :
Why do I get the error message, 'Too Many Input/Output Arguments' when I try to execute a function? - https://www.mathworks.com/matlabcentral/answers/101665-why-do-i-get-the-error-message-too-many-input-output-arguments-when-i-try-to-execute-a-function
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!