Changeset 863 for trunk/yat


Ignore:
Timestamp:
Sep 10, 2007, 4:17:45 PM (14 years ago)
Author:
Markus Ringnér
Message:

Fixed bug in FeatureSelectorIR that resulted in incorrect results!.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/FeatureSelectorIR.cc

    r862 r863  
    6565    InputRanker ir = InputRanker(data, target, score_);
    6666    features_.resize(N_);
    67     std::copy(ir.rank().begin()+first_, ir.rank().begin()+first_+N_,
     67    std::copy(ir.id().begin()+first_, ir.id().begin()+first_+N_,
    6868              features_.begin());
    6969  }
     
    7676    InputRanker ir = InputRanker(data, target, score_);
    7777    features_.resize(N_);
    78     std::copy(ir.rank().begin()+first_, ir.rank().begin()+first_+N_,
     78    std::copy(ir.id().begin()+first_, ir.id().begin()+first_+N_,
    7979              features_.begin());
    8080   
Note: See TracChangeset for help on using the changeset viewer.