source: trunk/c++_tools/classifier/FeatureSelectorIR.h @ 604

Last change on this file since 604 was 604, checked in by Peter, 16 years ago

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

File size: 813 bytes
Line 
1// $Id$
2
3#ifndef _theplu_classifier_featureselectorir_
4#define _theplu_classifier_featureselectorir_
5
6#include "FeatureSelector.h"
7
8#include <c++_tools/statistics/Score.h>
9
10namespace theplu {
11namespace classifier {
12
13  ///
14  /// @brief FeatureSelector using an InputRanker
15  ///
16  class FeatureSelectorIR : public FeatureSelector
17  {
18  public:
19
20    ///
21    /// @brief Default Constructor
22    ///
23    FeatureSelectorIR(statistics::Score& score, size_t N, size_t first=0);
24
25    ///
26    ///
27    ///
28    void update(const DataLookup2D& data, const Target& target);
29
30  private:
31    /// Copy Constructor
32    FeatureSelectorIR(const FeatureSelectorIR&);
33
34    /// Assignment operator
35    FeatureSelectorIR& operator=(const FeatureSelectorIR&);
36
37    statistics::Score& score_;
38
39  };
40
41} // end of namespace classifier
42} // end of namespace theplu
43
44#endif
Note: See TracBrowser for help on using the repository browser.