看板 java 關於我們 聯絡資訊
各位版上的高手好 小弟我從網路上找了範例想在eclipse上執行 現在的問題是有辦法讀資料 卻沒辦法執行 一直出現以下錯誤訊息 Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method run(Configuration, Path, Path, Path, double, int, boolean, double, boolean) in the type KMeansDriver is not applicable for the arguments (Configuration, Path, Path, Path, EuclideanDistanceMeasure, double, int, boolean, boolean) 附上程式碼http://i.imgur.com/QWJabHE.png 不知道是什麼地方出了問題 求各位大大幫忙~ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.124.42.128 ※ 文章網址: http://www.ptt.cc/bbs/java/M.1403520971.A.6D6.html
gmoz:你先把錯誤訊息這段的英文看懂 06/23 21:53
Jimmy0398:第5個參數要double? 你給EuclideanDistanceMeasure? 06/23 21:53
kather:參數從第五個開始要:double int boolean double boolean 06/23 23:40