增加报错信息

pull/1/head
lidapeng 5 years ago
parent bc9ed128ae
commit 51bd9dbc7a

@ -76,7 +76,9 @@ public class TempleConfig {
} }
public void startLvq() throws Exception {//进行量化 public void startLvq() throws Exception {//进行量化
lvq.start(); if (studyPattern == StudyPattern.Accuracy_Pattern) {
lvq.start();
}
} }
public LVQ getLvq() { public LVQ getLvq() {

@ -52,6 +52,7 @@ public class HelloWorld {
operation.learning(wrong, 0, true); operation.learning(wrong, 0, true);
} }
templeConfig.boxStudy();//边框聚类 templeConfig.boxStudy();//边框聚类
//精准模式在全部学习结束的时候一定要使用此方法,速度模式不要调用此方法
templeConfig.startLvq();//原型向量量化 templeConfig.startLvq();//原型向量量化
//templeConfig.boxStudy();//边框回归 //templeConfig.boxStudy();//边框回归
//templeConfig.clustering();//进行聚类 //templeConfig.clustering();//进行聚类

Loading…
Cancel
Save