Package java.util

Examples of java.util.Vector.addElement()


             "\tinstance in order to know which instances are\n" +
             "\tin the test set of a cross validation. if 0\n" +
             "\tno output (default 0).",
       "I", 1,
       "-I <index>"));
    newVector.addElement(new Option(
       "\tAdd target and prediction columns to the result\n" +
             "\tfor each fold.",
       "P", 0,
       "-P"));
View Full Code Here


       "P", 0,
       "-P"));

    if ((m_Template != null) &&
  (m_Template instanceof OptionHandler)) {
      newVector.addElement(new Option(
       "",
       "", 0, "\nOptions specific to classifier "
       + m_Template.getClass().getName() + ":"));
      Enumeration enu = ((OptionHandler)m_Template).listOptions();
      while (enu.hasMoreElements()) {
View Full Code Here

       "",
       "", 0, "\nOptions specific to classifier "
       + m_Template.getClass().getName() + ":"));
      Enumeration enu = ((OptionHandler)m_Template).listOptions();
      while (enu.hasMoreElements()) {
  newVector.addElement(enu.nextElement());
      }
    }
    return newVector.elements();
  }
View Full Code Here

    if (m_Template instanceof AdditionalMeasureProducer) {
      Enumeration en = ((AdditionalMeasureProducer)m_Template).
  enumerateMeasures();
      while (en.hasMoreElements()) {
  String mname = (String)en.nextElement();
  newVector.addElement(mname);
      }
    }
    return newVector.elements();
  }
 
View Full Code Here

  public Enumeration enumerateRequests() {
    Vector newVector = new Vector(0);
    if (m_executorPool != null &&
        (m_executorPool.getQueue().size() > 0 ||
            m_executorPool.getActiveCount() > 0)) {
      newVector.addElement("Stop");
    }

    if ((m_executorPool == null ||
        (m_executorPool.getQueue().size() == 0 &&
            m_executorPool.getActiveCount() == 0)) &&
View Full Code Here

    if ((m_executorPool == null ||
        (m_executorPool.getQueue().size() == 0 &&
            m_executorPool.getActiveCount() == 0)) &&
        m_Classifier != null) {
      newVector.addElement("Save model");
    }

    if (m_executorPool == null ||
        (m_executorPool.getQueue().size() == 0 &&
            m_executorPool.getActiveCount() == 0)) {
View Full Code Here

    }

    if (m_executorPool == null ||
        (m_executorPool.getQueue().size() == 0 &&
            m_executorPool.getActiveCount() == 0)) {
      newVector.addElement("Load model");
    }
    return newVector.elements();
  }

  /**
 
View Full Code Here

   * @return an enumeration of the measure names
   */
  public Enumeration enumerateMeasures() {
   
    Vector newVector = new Vector(1);
    newVector.addElement("measureOutOfBagError");
    return newVector.elements();
  }
 
  /**
   * Returns the value of the named measure.
View Full Code Here

   */
  public Enumeration listOptions() {
   
    Vector newVector = new Vector();

    newVector.addElement(new Option(
  "\tNumber of trees to build.",
  "I", 1, "-I <number of trees>"));
   
    newVector.addElement(new Option(
  "\tNumber of features to consider (<1=int(logM+1)).",
View Full Code Here

    newVector.addElement(new Option(
  "\tNumber of trees to build.",
  "I", 1, "-I <number of trees>"));
   
    newVector.addElement(new Option(
  "\tNumber of features to consider (<1=int(logM+1)).",
  "K", 1, "-K <number of features>"));
   
    newVector.addElement(new Option(
  "\tSeed for random number generator.\n"
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.