Ignore:
Timestamp:
Jan 3, 2017, 9:00:33 AM (6 years ago)
Author:
Peter
Message:

fix indentation and avoid long lines

File:
1 edited

Legend:

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

    r3554 r3555  
    261261    prediction.resize(centroids_.columns(), test.columns());
    262262
    263     // If weighted training data has resulted in NaN in centroids: weighted calculations
     263    // If weighted training data has resulted in NaN in centroids:
     264    // weighted calculations
    264265    if(centroids_nan_) {
    265266      predict_weighted(MatrixLookupWeighted(test),prediction);
     
    296297  template <typename Distance>
    297298  void NCC<Distance>::predict_weighted(const MatrixLookupWeighted& test,
    298                                           utility::Matrix& prediction) const
     299                                       utility::Matrix& prediction) const
    299300  {
    300301    utility::MatrixWeighted weighted_centroids(centroids_);
Note: See TracChangeset for help on using the changeset viewer.