Package weka.core

Examples of weka.core.Option.description()


      System.out.println("Options for " + o.getClass().getName() + ":\n");
     
      while (enm.hasMoreElements()) {
        Option option = (Option) enm.nextElement();
        System.out.println(option.synopsis());
        System.out.println(option.description());
      }
    }
   
    /**
     * Returns the revision string.
View Full Code Here


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

        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(asv.getUrl());
        } catch (Exception ex) {
            ex.printStackTrace();
View Full Code Here

        Enumeration enumi = listOptions();
       
        while (enumi.hasMoreElements()) {
          Option option = (Option)enumi.nextElement();
          text.append(option.synopsis()+'\n');
          text.append(option.description()+'\n');
        }
        System.out.println(text);
      }
    }
   
View Full Code Here

    result.append(" options:\n\n");
    Enumeration enm = saver.listOptions();
    while (enm.hasMoreElements()) {
      option = (Option) enm.nextElement();
      result.append(option.synopsis() + "\n");
      result.append(option.description() + "\n");
    }

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

      Enumeration enm = ((OptionHandler) new TextDirectoryLoader()).listOptions();
      while (enm.hasMoreElements()) {
  Option option = (Option) enm.nextElement();
  System.err.println(option.synopsis());
  System.err.println(option.description());
      }
     
      System.err.println();
    }
  }
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

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

      while (enu.hasMoreElements()) {
  Option option = (Option)enu.nextElement();
  optionsText.append(option.synopsis() + '\n');
  optionsText.append(option.description() + "\n");
      }
    }
   
    // Get global information (if available)
    if (globalInfo) {
View Full Code Here

      } 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

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.