public void add(double[] preds,double[] input){
  if (m_targetCategory == -1) {
    preds[0]+=m_coefficient * Math.pow(input[m_miningSchemaAttIndex],m_exponent);
  }
 else {
    preds[m_targetCategory]+=m_coefficient * Math.pow(input[m_miningSchemaAttIndex],m_exponent);
  }
}

public void add ( double [ ] preds , double [ ] input ) { if ( m_targetCategory == - 1 ) { preds [ 0 ] += m_coefficient * Math . pow ( input [ m_miningSchemaAttIndex ] , m_exponent ) ; } else { preds [ m_targetCategory ] += m_coefficient * Math . pow ( input [ m_miningSchemaAttIndex ] , m_exponent ) ; } }
adds this predictor into the sum for the current prediction .
