Ignore:
Timestamp:
Oct 15, 2010, 2:26:44 PM (11 years ago)
Author:
Peter
Message:

prefer lines shorter than 80 characters (again)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/KNN.h

    r2335 r2336  
    136136        this case the distance between the two is set to infinity.
    137137    */
    138     void predict(const MatrixLookupWeighted& data, utility::Matrix& results) const;
     138    void predict(const MatrixLookupWeighted& data,
     139                 utility::Matrix& results) const;
    139140
    140141
     
    316317      utility::yat_assert<utility::runtime_error>
    317318        (data_ml_->rows()==test.rows(),
    318          "KNN::predict different number of rows in training and test data");     
     319         "KNN::predict different number of rows in training and test data");
    319320      distances=new utility::Matrix(data_ml_->columns(),test.columns());
    320321      calculate_unweighted(*data_ml_,test,distances);
     
    324325      utility::yat_assert<utility::runtime_error>
    325326        (data_mlw_->rows()==test.rows(),
    326          "KNN::predict different number of rows in training and test data");           
     327         "KNN::predict different number of rows in training and test data");
    327328      distances=new utility::Matrix(data_mlw_->columns(),test.columns());
    328329      calculate_weighted(*data_mlw_,MatrixLookupWeighted(test),
Note: See TracChangeset for help on using the changeset viewer.