@Override public void stepInit() throws WekaException { m_isReset = true; m_PlotInstances = null; m_aggregatedPlotInstances = null; m_taskCount = new AtomicInteger(0); if (m_costSensitiveEval && m_costString != null && m_costString.length() > 0) { try { m_matrix = CostMatrix.parseMatlab(getCostMatrixString()); } catch (Exception e) { throw new WekaException(e); } } }
@Override public void stepInit() throws WekaException { m_isReset = true; m_PlotInstances = null; m_aggregatedPlotInstances = null; m_taskCount = new AtomicInteger(0); if (m_costSensitiveEval && m_costString != null && m_costString.length() > 0) { try { m_matrix = CostMatrix.parseMatlab(getCostMatrixString()); } catch (Exception e) { throw new WekaException(e); } } }
if (costString != null && costString.length() > 0) { try { CostMatrix cm = CostMatrix.parseMatlab(costString); m_CostMatrixEditor.setValue(cm); } catch (Exception e) {
if (costString != null && costString.length() > 0) { try { CostMatrix cm = CostMatrix.parseMatlab(costString); m_CostMatrixEditor.setValue(cm); } catch (Exception e) {
if (cost_matrix.length() != 0) { StringWriter writer = new StringWriter(); CostMatrix.parseMatlab(cost_matrix).write(writer); setCostMatrix(new CostMatrix(new StringReader(writer.toString()))); setCostMatrixSource(new SelectedTag(MATRIX_SUPPLIED,
if (cost_matrix.length() != 0) { StringWriter writer = new StringWriter(); CostMatrix.parseMatlab(cost_matrix).write(writer); setCostMatrix(new CostMatrix(new StringReader(writer.toString()))); setCostMatrixSource(new SelectedTag(MATRIX_SUPPLIED,
m_costSensitiveEval ? CostMatrix.parseMatlab(getCostMatrixString()) : null; String resultT =
m_costSensitiveEval ? CostMatrix.parseMatlab(getCostMatrixString()) : null; String resultT =