public double[] coefficients(){
  double[] coefficients=new double[m_SelectedAttributes.length + 1];
  int counter=0;
  for (int i=0; i < m_SelectedAttributes.length; i++) {
    if ((m_SelectedAttributes[i]) && ((i != m_ClassIndex))) {
      coefficients[i]=m_Coefficients[counter++];
    }
  }
  coefficients[m_SelectedAttributes.length]=m_Coefficients[counter];
  return coefficients;
}

public double [ ] coefficients ( ) { double [ ] coefficients = new double [ m_SelectedAttributes . length + 1 ] ; int counter = 0 ; for ( int i = 0 ; i < m_SelectedAttributes . length ; i ++ ) { if ( ( m_SelectedAttributes [ i ] ) && ( ( i != m_ClassIndex ) ) ) { coefficients [ i ] = m_Coefficients [ counter ++ ] ; } } coefficients [ m_SelectedAttributes . length ] = m_Coefficients [ counter ] ; return coefficients ; }
returns the coefficients for this linear model .
