Ignore:
Timestamp:
Oct 6, 2006, 6:07:54 AM (17 years ago)
Author:
Peter
Message:

refs #151, added IRRetreive functors and prepared ConsensusInputRanker? for usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/consensus_inputranker_test.cc

    r616 r666  
    88#include <c++_tools/classifier/MatrixLookup.h>
    99#include <c++_tools/classifier/CrossValidationSampler.h>
     10#include <c++_tools/classifier/IRRank.h>
    1011
    1112#include <cstdlib>
     
    4344  theplu::classifier::CrossValidationSampler sampler(target,30,3);
    4445  *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);
    4648  *error << "Done" << std::endl;
    4749
     
    5860  theplu::utility::matrix flag(data.rows(),data.columns(),1);
    5961  // Peter, fix weighted version instead
    60   theplu::classifier::ConsensusInputRanker cir2(sampler,data,roc);
     62  theplu::classifier::ConsensusInputRanker cir2(sampler,data,roc,retrieve);
    6163
    6264  if (cir2.id(0)!=2 || cir2.id(1)!=0 || cir2.id(2)!=1){
Note: See TracChangeset for help on using the changeset viewer.