/** * Main method for testing this class. * * @param args the options */ public static void main(String[] args) { runEvaluator(new CorrelationAttributeEval(), args); } }
/** * Gets the current settings of WrapperSubsetEval. * * @return an array of strings suitable for passing to setOptions() */ @Override public String[] getOptions() { String[] options = new String[1]; if (getOutputDetailedInfo()) { options[0] = "-D"; } else { options[0] = ""; } return options; }
/** Creates a default InfoGainAttributeEval */ public ASEvaluation getEvaluator() { return new CorrelationAttributeEval(); }
/** * Parses a given list of options. * <p/> * * <!-- options-start --> Valid options are: * <p/> * * <pre> * -D * Output detailed info for nominal attributes * </pre> * * <!-- options-end --> * * @param options the list of options as an array of strings * @throws Exception if an option is not supported */ @Override public void setOptions(String[] options) throws Exception { setOutputDetailedInfo(Utils.getFlag('D', options)); }
/** Creates a default InfoGainAttributeEval */ public ASEvaluation getEvaluator() { return new CorrelationAttributeEval(); }
/** * Parses a given list of options. * <p/> * * <!-- options-start --> Valid options are: * <p/> * * <pre> * -D * Output detailed info for nominal attributes * </pre> * * <!-- options-end --> * * @param options the list of options as an array of strings * @throws Exception if an option is not supported */ @Override public void setOptions(String[] options) throws Exception { setOutputDetailedInfo(Utils.getFlag('D', options)); }
/** * Main method for testing this class. * * @param args the options */ public static void main(String[] args) { runEvaluator(new CorrelationAttributeEval(), args); } }
/** * Gets the current settings of WrapperSubsetEval. * * @return an array of strings suitable for passing to setOptions() */ @Override public String[] getOptions() { String[] options = new String[1]; if (getOutputDetailedInfo()) { options[0] = "-D"; } else { options[0] = ""; } return options; }