public double[] distributionForInstance(Instance instance) throws Exception {
  Instance newInstance;
  if (m_AttributeSelection == null) {
    newInstance=instance;
  }
 else {
    newInstance=m_AttributeSelection.reduceDimensionality(instance);
  }
  return m_Classifier.distributionForInstance(newInstance);
}

public double [ ] distributionForInstance ( Instance instance ) throws Exception { Instance newInstance ; if ( m_AttributeSelection == null ) { newInstance = instance ; } else { newInstance = m_AttributeSelection . reduceDimensionality ( instance ) ; } return m_Classifier . distributionForInstance ( newInstance ) ; }
classifies a given instance after attribute selection
