Examples of synopsis()


Examples of weka.core.Option.synopsis()

      if (m_Debug) {
        println("\n=== Full report ===");
        Enumeration enu = ((OptionHandler)m_Clusterer).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

Examples of weka.core.Option.synopsis()

    if (classifier instanceof OptionHandler) {
      optionsText.append("\nOptions specific to " + classifier.getClass().getName() + ":\n\n");
      Enumeration enu = ((OptionHandler) classifier).listOptions();
      while (enu.hasMoreElements()) {
        Option option = (Option) enu.nextElement();
        optionsText.append(option.synopsis() + '\n');
        optionsText.append(option.description() + "\n");
      }
    }
    return optionsText.toString();
  }
View Full Code Here

Examples of weka.core.Option.synopsis()

      } catch (Exception e) {
  System.err.println("Options for weka.experiment.InstanceQuery:\n");
  Enumeration en = iq.listOptions();
  while (en.hasMoreElements()) {
    Option o = (Option)en.nextElement();
    System.err.println(o.synopsis()+"\n"+o.description());
  }
  System.exit(1);
      }
    
      Instances aha = iq.retrieveInstances();
View Full Code Here

Examples of weka.core.Option.synopsis()

      } catch (Exception ex) {
  String result = ex.getMessage() + "\nBVDecompose Options:\n\n";
  Enumeration enu = bvd.listOptions();
  while (enu.hasMoreElements()) {
    Option option = (Option) enu.nextElement();
    result += option.synopsis() + "\n" + option.description() + "\n";
  }
  throw new Exception(result);
      }

      bvd.decompose();
View Full Code Here

Examples of weka.core.Option.synopsis()

      text = new StringBuffer();  
      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 {
View Full Code Here

Examples of weka.core.Option.synopsis()

      if (m_Debug) {
        println("\n=== Full report ===");
        Enumeration enu = ((OptionHandler)m_Classifier).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

Examples of weka.core.Option.synopsis()

       + clusterer.getClass().getName() + ":\n\n");
      Enumeration enu = ((OptionHandler)clusterer).listOptions();

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

    return  optionsText.toString();
View Full Code Here

Examples of weka.core.Option.synopsis()

    + Kernel.getClass().getName().replaceAll(".*\\.", "") + ":\n\n");
     
      Enumeration enm = ((OptionHandler) Kernel).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

Examples of weka.core.Option.synopsis()

      if (m_Debug) {
        println("\n=== Full report ===");
        Enumeration enu = ((OptionHandler)m_Kernel).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

Examples of weka.core.Option.synopsis()

  DatabaseSaver asv = new DatabaseSaver();
        try {
          Enumeration enumi = asv.listOptions();
          while (enumi.hasMoreElements()) {
            Option option = (Option)enumi.nextElement();
            text.append(option.synopsis()+'\n');
            text.append(option.description()+'\n');
       
          asv.setOptions(options);
          asv.setDestination();
        } catch (Exception ex) {
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.