@Override public double classifyInstance(Instance instance) throws Exception {
  Instance transformedInstance=instance;
  if (!m_checksTurnedOff) {
    m_TransformFilter.input(transformedInstance);
    m_TransformFilter.batchFinished();
    transformedInstance=m_TransformFilter.output();
    m_MissingFilter.input(transformedInstance);
    m_MissingFilter.batchFinished();
    transformedInstance=m_MissingFilter.output();
  }
  return regressionPrediction(transformedInstance,m_SelectedAttributes,m_Coefficients);
}

@ Override public double classifyInstance ( Instance instance ) throws Exception { Instance transformedInstance = instance ; if ( ! m_checksTurnedOff ) { m_TransformFilter . input ( transformedInstance ) ; m_TransformFilter . batchFinished ( ) ; transformedInstance = m_TransformFilter . output ( ) ; m_MissingFilter . input ( transformedInstance ) ; m_MissingFilter . batchFinished ( ) ; transformedInstance = m_MissingFilter . output ( ) ; } return regressionPrediction ( transformedInstance , m_SelectedAttributes , m_Coefficients ) ; }
classifies the given instance using the linear regression function .
