Package weka.core

Examples of weka.core.Option.description()


  filterOptions += "\nFilter options:\n\n";
  Enumeration enu = ((OptionHandler)filter).listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    filterOptions += option.synopsis() + '\n'
      + option.description() + "\n";
  }
      }

      String genericOptions = "\nGeneral options:\n\n"
  + "-h\n"
View Full Code Here


  filterOptions += "\nFilter options:\n\n";
  Enumeration enu = ((OptionHandler)filter).listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    filterOptions += option.synopsis() + '\n'
      + option.description() + "\n";
  }
      }

      String genericOptions = "\nGeneral options:\n\n"
  + "-h\n"
View Full Code Here

      text.append("\nHelp requested:\n\n");
      enm = check.listOptions();
      while (enm.hasMoreElements()) {
        Option option = (Option) enm.nextElement();
        text.append(option.synopsis() + "\n");
        text.append(option.description() + "\n");
      }
      System.out.println("\n" + text + "\n");
    }
    else {
      check.setOptions(args);
View Full Code Here

        println("\n=== Full report ===");
        Enumeration enu = ((OptionHandler)m_Associator).listOptions();
        while (enu.hasMoreElements()) {
          Option option = (Option) enu.nextElement();
          print(option.synopsis() + "\n"
              + option.description() + "\n");
        }
        println("\n");
      }
      result[0] = true;
    }
View Full Code Here

     
      Enumeration enm = ((OptionHandler) associator).listOptions();
      while (enm.hasMoreElements()) {
  Option option = (Option) enm.nextElement();
  text.append(option.synopsis() + "\n");
  text.append(option.description() + "\n");
      }
    }
   
    return text.toString();
  }
View Full Code Here

    while (enm.hasMoreElements()) {
      option = (Option) enm.nextElement();
      // skip option if on blacklist
      if (isOnBlacklist(option.name()))
        continue;
      result.append(option.synopsis() + "\n" + option.description() + "\n");
    }

    return result.toString();
  }
View Full Code Here

  specificOptions += "\nEstimator options:\n\n";
  Enumeration enumOptions = ((OptionHandler)est).listOptions();
  while (enumOptions.hasMoreElements()) {
    Option option = (Option) enumOptions.nextElement();
    specificOptions += option.synopsis() + '\n'
      + option.description() + "\n";
  }
      }
     
      String genericOptions = "\nGeneral options:\n\n"
  + "-h\n"
View Full Code Here

        println("\n=== Full report ===");
        Enumeration enu = ((OptionHandler) getTestObject()).listOptions();
        while (enu.hasMoreElements()) {
          Option option = (Option) enu.nextElement();
          print(option.synopsis() + "\n"
              + option.description() + "\n");
        }
        println("\n");
      }
      result[0] = true;
    }
View Full Code Here

      Enumeration enu = ((OptionHandler)ASEvaluator).listOptions();

      while (enu.hasMoreElements()) {
  Option option = (Option)enu.nextElement();
  optionsText.append(option.synopsis() + '\n');
  optionsText.append(option.description() + "\n");
      }
    }

    if (searchMethod != null) {
      if (searchMethod instanceof OptionHandler) {
View Full Code Here

  Enumeration enu = ((OptionHandler)searchMethod).listOptions();

  while (enu.hasMoreElements()) {
    Option option = (Option)enu.nextElement();
    optionsText.append(option.synopsis() + '\n');
    optionsText.append(option.description() + "\n");
  }
      }
    }
    else {
      if (ASEvaluator instanceof SubsetEvaluator) {
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.