Weka Linear regression ClassNotFoundException
问题 String filePath = new File("").getAbsolutePath(); DataSource source = new DataSource(filePath + "\\src\\data\\data.arff"); Instances dataset = source.getDataSet(); // set class dataset.setClassIndex(0); // build model **LinearRegression lr = new LinearRegression();** lr.buildClassifier(dataset); System.out.println(lr); Right after LinearRegression instantiation I get this error: Exception in thread "main" java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix at weka_prediction.Main