Examples of CheckOptionHandler


Examples of weka.core.CheckOptionHandler

   *
   * @return  the fully configured CheckOptionHandler
   * @see  #getTokenizer()
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    if (getTokenizer() instanceof OptionHandler)
      result.setOptionHandler((OptionHandler) getTokenizer());
    else
      result.setOptionHandler(null);
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here

Examples of weka.core.CheckOptionHandler

   *
   * @return  the fully configured CheckOptionHandler
   * @see  #getClassifier()
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = super.getOptionTester();
    result.setUserOptions(new String[]{
  "-E",
  "weka.attributeSelection.CfsSubsetEval",
  "-S",
  "weka.attributeSelection.BestFirst"});
   
View Full Code Here

Examples of weka.core.CheckOptionHandler

   *
   * @return  the fully configured CheckOptionHandler
   * @see  #getNearestNeighbourSearch()
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    result.setOptionHandler(getNearestNeighbourSearch());
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here

Examples of weka.core.CheckOptionHandler

   *
   * @param o  the object to test
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester(Object o) {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    if (o instanceof OptionHandler)
      result.setOptionHandler((OptionHandler) o);
    else
      result.setOptionHandler(null);
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here

Examples of weka.core.CheckOptionHandler

   * Sets the scheme to test.
   *
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    if (getFilter() instanceof OptionHandler)
      result.setOptionHandler((OptionHandler) getFilter());
    else
      result.setOptionHandler(null);
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.