List of usage examples for weka.core Capabilities and
public void and(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.// w ww.j av a 2s. c om * * @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; }