/** * Get the currently configured classifier from the GenericObjectEditor * * @return the currently configured classifier */ public Classifier getClassifier() { return (Classifier) m_ClassifierEditor.getValue(); }
@Override public void actionPerformed(ActionEvent e) { m_ResultMatrix = (ResultMatrix) m_ResultMatrixEditor.getValue(); setData(); } });
/** * returns the currently selected DataGenerator * * @return the current data generator */ public DataGenerator getGenerator() { return (DataGenerator) m_GeneratorEditor.getValue(); }
/** * Get the formatter for classifcation output * * @return the formatter for classification output */ public Object getClassificationOutputFormatter() { return m_ClassificationOutputEditor.getValue(); }
@Override public void actionPerformed(ActionEvent e) { m_ResultMatrix = (ResultMatrix) m_ResultMatrixEditor.getValue(); setData(); } });
public void actionPerformed(ActionEvent e) { tryConverter((Loader) convEd.getValue(), f); } });
public void actionPerformed(ActionEvent e) { tryConverter((Loader) convEd.getValue(), f); } });
/** * returns the currently selected DataGenerator * * @return the current data generator */ public DataGenerator getGenerator() { return (DataGenerator) m_GeneratorEditor.getValue(); }
/** * Get the currently configured classifier from the GenericObjectEditor * * @return the currently configured classifier */ public Classifier getClassifier() { return (Classifier) m_ClassifierEditor.getValue(); }
/** * Get the formatter for classifcation output * * @return the formatter for classification output */ public Object getClassificationOutputFormatter() { return m_ClassificationOutputEditor.getValue(); }
@Override public void actionPerformed(ActionEvent e) { Classifier newCopy = (Classifier) copyObject(m_ClassifierEditor .getValue()); addNewAlgorithm(newCopy); } });
@Override public void actionPerformed(ActionEvent e) { Classifier newCopy = (Classifier) copyObject(m_ClassifierEditor .getValue()); addNewAlgorithm(newCopy); } });
public void actionPerformed(ActionEvent e) { applyFilter((Filter) m_FilterEditor.getValue()); } });
public void actionPerformed(ActionEvent e) { applyFilter((Filter) m_FilterEditor.getValue()); } });
@Override public void propertyChange(PropertyChangeEvent e) { m_Exp.setResultListener((ResultListener) m_RLEditor.getValue()); m_Support.firePropertyChange("", null, null); repaint(); } });
@Override public void propertyChange(PropertyChangeEvent evt) { m_classifier = (Classifier) m_classifierEditor.getValue(); try { int classIndex = m_classAttBox.getSelectedIndex(); if (m_trainingInstances != null && m_classifier != null && (m_trainingInstances.attribute(classIndex).isNominal())) { m_startBut.setEnabled(true); } } catch (Exception ex) { } ; } });
@Override public void propertyChange(PropertyChangeEvent e) { m_Exp.setResultListener((ResultListener) m_RLEditor.getValue()); m_Support.firePropertyChange("", null, null); repaint(); } });
@Override public void actionPerformed(ActionEvent e) { Object obj = goe.getValue(); String s = obj.getClass().getName(); if (obj instanceof weka.core.OptionHandler) { s += " " + Utils.joinOptions(((weka.core.OptionHandler) obj).getOptions()); } setEditState(s.trim()); } });
@Override public void propertyChange(PropertyChangeEvent e) { m_Exp.setResultProducer((ResultProducer) m_RPEditor.getValue()); m_Exp.setUsePropertyIterator(false); m_Exp.setPropertyArray(null); m_Exp.setPropertyPath(null); m_GeneratorPropertyPanel.setExperiment(m_Exp); repaint(); } });
@Override public void propertyChange(PropertyChangeEvent e) { m_Exp.setResultProducer((ResultProducer) m_RPEditor.getValue()); m_Exp.setUsePropertyIterator(false); m_Exp.setPropertyArray(null); m_Exp.setPropertyPath(null); m_GeneratorPropertyPanel.setExperiment(m_Exp); repaint(); } });