EncogWorkBench.getInstance().getMainWindow().getTabManager()
.openModalTab(tab, "Thermal Query");
}
// only supports regression
else {
SelectItem selectClassification = null;
SelectItem selectRegression = null;
SelectItem selectOCR;
List<SelectItem> list = new ArrayList<SelectItem>();
if( this.method instanceof MLClassification ) {
list.add(selectClassification = new SelectItem("Query Classification",
"Machine Learning output is a class."));
}
if( this.method instanceof MLRegression ) {
list.add(selectRegression = new SelectItem("Query Regression",
"Machine Learning output is a number(s)."));
}
list.add(selectOCR = new SelectItem("Query OCR",
"Query using drawn chars. Supports regression or classification."));
SelectDialog sel = new SelectDialog(EncogWorkBench.getInstance()
.getMainWindow(), list);
sel.setVisible(true);