Last change
on this file since 525 was
525,
checked in by Markus Ringnér, 17 years ago
|
Added structure to Supervised classifier and NCC to support ranking inputs with a statistics::Score and using only top-scoring inputs in classification.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
373 bytes
|
Line | |
---|
1 | // $Id: SupervisedClassifier.cc 525 2006-02-24 16:29:22Z markus $ |
---|
2 | |
---|
3 | #include <c++_tools/classifier/SupervisedClassifier.h> |
---|
4 | |
---|
5 | namespace theplu { |
---|
6 | namespace classifier { |
---|
7 | |
---|
8 | SupervisedClassifier::SupervisedClassifier(const Target& target, |
---|
9 | statistics::Score* score, |
---|
10 | const size_t nof_inputs) |
---|
11 | : target_(target), score_(score), ranker_(0), nof_inputs_(nof_inputs), |
---|
12 | trained_(false) |
---|
13 | { |
---|
14 | } |
---|
15 | |
---|
16 | }} |
---|
Note: See
TracBrowser
for help on using the repository browser.