Changeset 666 for trunk/test/consensus_inputranker_test.cc
- Timestamp:
- Oct 6, 2006, 6:07:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/consensus_inputranker_test.cc
r616 r666 8 8 #include <c++_tools/classifier/MatrixLookup.h> 9 9 #include <c++_tools/classifier/CrossValidationSampler.h> 10 #include <c++_tools/classifier/IRRank.h> 10 11 11 12 #include <cstdlib> … … 43 44 theplu::classifier::CrossValidationSampler sampler(target,30,3); 44 45 *error << "Building Consensus_Inputranker" << std::endl; 45 theplu::classifier::ConsensusInputRanker cir(sampler,data,roc); 46 theplu::classifier::IRRank retrieve; 47 theplu::classifier::ConsensusInputRanker cir(sampler,data,roc,retrieve); 46 48 *error << "Done" << std::endl; 47 49 … … 58 60 theplu::utility::matrix flag(data.rows(),data.columns(),1); 59 61 // Peter, fix weighted version instead 60 theplu::classifier::ConsensusInputRanker cir2(sampler,data,roc );62 theplu::classifier::ConsensusInputRanker cir2(sampler,data,roc,retrieve); 61 63 62 64 if (cir2.id(0)!=2 || cir2.id(1)!=0 || cir2.id(2)!=1){
Note: See TracChangeset
for help on using the changeset viewer.