Ignore:
Timestamp:
Aug 29, 2006, 11:45:01 AM (15 years ago)
Author:
Peter
Message:

ref #96 Changed InputRanker? to return vector of index rather than element. Also added draft to FeatureSelection? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/inputranker_test.cc

    r536 r604  
    3939  statistics::ROC roc;
    4040  classifier::InputRanker ir(data,target,roc);
    41   if (ir.id(0)!=2 || ir.id(1)!=0 || ir.id(2)!=1){
     41  if (ir.id()[0]!=2 || ir.id()[1]!=0 || ir.id()[2]!=1){
    4242    *error << "wrong id" << std::endl;
    4343    ok=false;
    4444  }
    4545 
    46   if (ir.rank(0)!=1 || ir.rank(1)!=2 || ir.rank(2)!=0){
     46  if (ir.rank()[0]!=1 || ir.rank()[1]!=2 || ir.rank()[2]!=0){
    4747    *error << "wrong rank" << std::endl;
    4848    ok=false;
Note: See TracChangeset for help on using the changeset viewer.