Examples of enableDependency()


Examples of weka.core.Capabilities.enableDependency()

      for (int i = 1; i < m_preBuiltClassifiers.size(); i++) {
        result.and(m_preBuiltClassifiers.get(i).getCapabilities());
      }
     
      for (Capability cap : Capability.values()) {
        result.enableDependency(cap);
      }
    }   

    // class
    if (    (m_CombinationRule == PRODUCT_RULE)
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

   
    result.setMinimumNumberInstances(0);
   
    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    return result;
  }
 
  /**
 
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

    if (    (m_CombinationRule == PRODUCT_RULE)
   || (m_CombinationRule == MAJORITY_VOTING_RULE) ) {
      result.disableAllClasses();
      result.disableAllClassDependencies();
      result.enable(Capability.NOMINAL_CLASS);
      result.enableDependency(Capability.NOMINAL_CLASS);
    }
    else if (m_CombinationRule == MEDIAN_RULE) {
      result.disableAllClasses();
      result.disableAllClassDependencies();
      result.enable(Capability.NUMERIC_CLASS);
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

    }
    else if (m_CombinationRule == MEDIAN_RULE) {
      result.disableAllClasses();
      result.disableAllClassDependencies();
      result.enable(Capability.NUMERIC_CLASS);
      result.enableDependency(Capability.NUMERIC_CLASS);
    }
   
    return result;
  }
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

    // the filtered classifier always needs a class
    result.disable(Capability.NO_CLASS);
   
    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    return result;
  }

  /**
 
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

      result.disableAll();
    }
   
    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    result.setOwner(this);
   
    return result;
  }
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

   
    result.enable(Capability.NO_CLASS);
   
    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    return result;
  }

  /**
 
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

      result = getFilter().getCapabilities();
    }
   
    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    return result;
  }

  /**
 
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

    result.enable(Capability.NOMINAL_ATTRIBUTES);
    result.enable(Capability.NUMERIC_ATTRIBUTES);
    result.enable(Capability.DATE_ATTRIBUTES);

    // class
    result.enableDependency(Capability.UNARY_CLASS);
    result.enableDependency(Capability.NOMINAL_CLASS);
    result.enableDependency(Capability.NUMERIC_CLASS);
    result.enableDependency(Capability.DATE_CLASS);

    switch (m_SVMType) {
View Full Code Here

Examples of weka.core.Capabilities.enableDependency()

    result.enable(Capability.NUMERIC_ATTRIBUTES);
    result.enable(Capability.DATE_ATTRIBUTES);

    // class
    result.enableDependency(Capability.UNARY_CLASS);
    result.enableDependency(Capability.NOMINAL_CLASS);
    result.enableDependency(Capability.NUMERIC_CLASS);
    result.enableDependency(Capability.DATE_CLASS);

    switch (m_SVMType) {
      case SVMTYPE_C_SVC:
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.