*
* @return the capabilities of this object
* @see Capabilities
*/
public Capabilities getCapabilities() {
Capabilities result;
if (m_ASEvaluator == null) {
result = super.getCapabilities();
result.disableAll();
}
else {
result = m_ASEvaluator.getCapabilities();
// class index will be set if necessary, so we always allow the dataset
// to have no class attribute set. see the following method:
// weka.attributeSelection.AttributeSelection.SelectAttributes(Instances)
result.enable(Capability.NO_CLASS);
}
result.setMinimumNumberInstances(0);
return result;
}