List of usage examples for weka.core Capabilities or
public void or(Capabilities c)
From source file:br.com.ufu.lsi.rebfnetwork.RBFNetwork.java
License:Open Source License
/** * Returns default capabilities of the classifier, i.e., and "or" of * Logistic and LinearRegression.//from w ww .j a v a2 s. c o m * * @return the capabilities of this classifier * @see Logistic * @see LinearRegression */ public Capabilities getCapabilities() { Capabilities result = new Logistic().getCapabilities(); result.or(new LinearRegression().getCapabilities()); Capabilities classes = result.getClassCapabilities(); result.and(new SimpleKMeans().getCapabilities()); result.or(classes); return result; }