Package weka.core

Examples of weka.core.Capabilities.capabilities()


    else
      result = getFilter().getCapabilities();

    // only nominal and numeric classes allowed
    classes = result.getClassCapabilities();
    iter = classes.capabilities();
    while (iter.hasNext()) {
      capab = (Capability) iter.next();
      if (    (capab != Capability.BINARY_CLASS)
     && (capab != Capability.NOMINAL_CLASS)
     && (capab != Capability.NUMERIC_CLASS)
View Full Code Here


    result = getCapabilities();

    // no class? -> remove all class capabilites apart from NO_CLASS
    if (data.classIndex() == -1) {
      classes = result.getClassCapabilities();
      iter    = classes.capabilities();
      while (iter.hasNext()) {
  cap = (Capability) iter.next();
  if (cap != Capability.NO_CLASS) {
    result.disable(cap);
    result.disableDependency(cap);
View Full Code Here

    result = getCapabilities();

    // no class? -> remove all class capabilites apart from NO_CLASS
    if (data.classIndex() == -1) {
      classes = result.getClassCapabilities();
      iter    = classes.capabilities();
      while (iter.hasNext()) {
  cap = (Capability) iter.next();
  if (cap != Capability.NO_CLASS) {
    result.disable(cap);
    result.disableDependency(cap);
View Full Code Here

    else
      result = getFilter().getCapabilities();

    // only nominal and numeric classes allowed
    classes = result.getClassCapabilities();
    iter = classes.capabilities();
    while (iter.hasNext()) {
      capab = (Capability) iter.next();
      if (    (capab != Capability.BINARY_CLASS)
     && (capab != Capability.NOMINAL_CLASS)
     && (capab != Capability.NUMERIC_CLASS)
View Full Code Here

    result = getCapabilities();

    // no class? -> remove all class capabilites apart from NO_CLASS
    if (data.classIndex() == -1) {
      classes = result.getClassCapabilities();
      iter    = classes.capabilities();
      while (iter.hasNext()) {
  cap = (Capability) iter.next();
  if (cap != Capability.NO_CLASS) {
    result.disable(cap);
    result.disableDependency(cap);
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.