[問題] JAVA程式讀的到資料卻沒辦法執行

作者: DJJERRY (鍵盤張根碩)   2014-06-23 18:56:09
各位版上的高手好 小弟我從網路上找了範例想在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
不知道是什麼地方出了問題 求各位大大幫忙~
作者: gmoz ( This can't do that. )   2014-06-23 21:53:00
你先把錯誤訊息這段的英文看懂
作者: Jimmy0398 (Reuse & Debug)   2014-06-23 21:53:00
第5個參數要double? 你給EuclideanDistanceMeasure?
作者: kather (Kather)   2014-06-23 23:40:00
參數從第五個開始要:double int boolean double boolean

Links booklink

Contact Us: admin [ a t ] ucptt.com