Changeset 606


Ignore:
Timestamp:
Aug 29, 2006, 12:25:02 PM (15 years ago)
Author:
Peter
Message:

ref #96 added missing functionality in FeatureSelector?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/FeatureSelectorIR.cc

    r604 r606  
    55#include "FeatureSelector.h"
    66#include "InputRanker.h"
     7
     8#include <algorithm>
    79
    810namespace theplu {
     
    3537  {
    3638    InputRanker ir = InputRanker(data, target, score_);
     39    features_.resize(N_);
     40    std::copy(ir.rank().begin()+first_, ir.rank().begin()+first_+N_,
     41              features_.begin());
    3742   
    3843  }
Note: See TracChangeset for help on using the changeset viewer.