/** * Gets the current settings of the Classifier. * * @return an array of strings suitable for passing to setOptions */ public String [] getOptions() { Vector<String> options = new Vector<String>(); options.add("-M"); options.add("" + m_Method); if (getUsePairwiseCoupling()) { options.add("-P"); } if (getLogLossDecoding()) { options.add("-L"); } options.add("-R"); options.add("" + m_RandomWidthFactor); Collections.addAll(options, super.getOptions()); return options.toArray(new String[0]); }
/** * Gets the current settings of the Classifier. * * @return an array of strings suitable for passing to setOptions */ public String [] getOptions() { Vector<String> options = new Vector<String>(); options.add("-M"); options.add("" + m_Method); if (getUsePairwiseCoupling()) { options.add("-P"); } if (getLogLossDecoding()) { options.add("-L"); } options.add("-R"); options.add("" + m_RandomWidthFactor); Collections.addAll(options, super.getOptions()); return options.toArray(new String[0]); }
if (getLogLossDecoding()) { Arrays.fill(probs, 1.0); for (int i = 0; i < m_ClassFilters.length; i++) {
if (getLogLossDecoding()) { Arrays.fill(probs, 1.0); for (int i = 0; i < m_ClassFilters.length; i++) {