Package weka.core

Examples of weka.core.CheckOptionHandler


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


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

   * Sets the scheme to test.
   *
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    result.setOptionHandler(null);
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here

   * Sets the scheme to test.
   *
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = super.getOptionTester();
    if (getEvaluator() instanceof OptionHandler)
      result.setOptionHandler((OptionHandler) getEvaluator());
   
    return result;
  }
View Full Code Here

   * Sets the scheme to test.
   *
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = new CheckOptionHandler();
    result.setOptionHandler((OptionHandler) getGenerator());
    result.setUserOptions(new String[0]);
    result.setSilent(true);
   
    return result;
  }
View Full Code Here

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

   * Sets the scheme to test.
   *
   * @return  the fully configured CheckOptionHandler
   */
  protected CheckOptionHandler getOptionTester() {
    CheckOptionHandler    result;
   
    result = super.getOptionTester();
    if (getSearch() instanceof OptionHandler)
      result.setOptionHandler((OptionHandler) getSearch());
   
    return result;
  }
View Full Code Here

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

   *
   * @throws Exception if an error occurs reading the example instances.
   */
  protected void setUp() throws Exception {
    m_Classifier   = null;
    m_OptionTester = new CheckOptionHandler();
    m_OptionTester.setSilent(true);

    // delete temp file
    File file = new File(MODEL_FILENAME);
    if (file.exists())
View Full Code Here

   * 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

Related Classes of weka.core.CheckOptionHandler

Copyright © 2018 www.massapicom. 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.