Last change
on this file since 526 was
526,
checked in by Markus Ringnér, 18 years ago
|
Fixed bug in tScore and in MatrixLookup?. Added support for scoring inputs in SupervisedClassifier? and for using this in training and prediction in NCC.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
527 bytes
|
Line | |
---|
1 | // $Id: SupervisedClassifier.cc 526 2006-03-01 08:49:48Z markus $ |
---|
2 | |
---|
3 | #include <c++_tools/classifier/SupervisedClassifier.h> |
---|
4 | |
---|
5 | namespace theplu { |
---|
6 | namespace classifier { |
---|
7 | |
---|
8 | SupervisedClassifier::SupervisedClassifier(const Target& target) |
---|
9 | : target_(target), score_(0), ranker_(0), nof_inputs_(0), |
---|
10 | trained_(false) |
---|
11 | { |
---|
12 | } |
---|
13 | |
---|
14 | SupervisedClassifier::SupervisedClassifier(const Target& target, |
---|
15 | statistics::Score* score, |
---|
16 | const size_t nof_inputs) |
---|
17 | : target_(target), score_(score), ranker_(0), nof_inputs_(nof_inputs), |
---|
18 | trained_(false) |
---|
19 | { |
---|
20 | } |
---|
21 | |
---|
22 | |
---|
23 | }} |
---|
Note: See
TracBrowser
for help on using the repository browser.