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

Last change on this file since 624 was 624, checked in by Peter, 15 years ago

fixes #109 and #110

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date ID
File size: 902 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    /// @brief Default Constructor
21    ///
22    FeatureSelectorIR(statistics::Score& score, size_t N, size_t first=0);
23
24    ///
25    ///
26    ///
27    void update(const MatrixLookup& data, const Target& target);
28
29    ///
30    ///
31    ///
32    void update(const MatrixLookupWeighted& data, const Target& target);
33
34  private:
35    /// Copy Constructor
36    FeatureSelectorIR(const FeatureSelectorIR&);
37
38    /// Assignment operator
39    FeatureSelectorIR& operator=(const FeatureSelectorIR&);
40
41    statistics::Score& score_;
42
43  };
44
45} // end of namespace classifier
46} // end of namespace theplu
47
48#endif
Note: See TracBrowser for help on using the repository browser.