Changeset 299


Ignore:
Timestamp:
Apr 29, 2005, 2:23:48 PM (18 years ago)
Author:
Jari Häkkinen
Message:

*NNI contructor changed, need to call estimate() for imputation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_nni.cc

    r292 r299  
    4343  theplu::gslapi::matrix weight(weight_stream);
    4444  theplu::cpptools::kNNI knni(data,weight,neighbours);
     45  knni.estimate();
    4546  std::ifstream control_stream(knni_result.c_str());
    4647  theplu::gslapi::matrix control(control_stream);
     
    7677  weight=theplu::gslapi::matrix(weight_stream);
    7778  theplu::cpptools::WeNNI wenni(data,weight,neighbours);
     79  wenni.estimate();
    7880  control_stream.open(wenni_result.c_str());
    7981  control=theplu::gslapi::matrix(control_stream);
Note: See TracChangeset for help on using the changeset viewer.