Ignore:
Timestamp:
Feb 24, 2006, 5:29:22 PM (17 years ago)
Author:
Markus Ringnér
Message:

Added structure to Supervised classifier and NCC to support ranking inputs with a statistics::Score and using only top-scoring inputs in classification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/NCC.h

    r523 r525  
    77
    88#include <c++_tools/classifier/SupervisedClassifier.h>
    9 //#include <c++_tools/statistics/Distance.h>
    109
    1110#include <map>
     
    1514  namespace statistics {
    1615    class Distance;
     16    class Score;
    1717  }
    1818
     
    3636    ///
    3737    NCC(const DataLookup2D&, const Target&, const statistics::Distance&);
     38
     39    NCC(const DataLookup2D&, const Target&, const statistics::Distance&,
     40        statistics::Score&, const size_t);
     41
     42    virtual ~NCC();
    3843
    3944    const gslapi::matrix& centroids(void) const {return centroids_;}
Note: See TracChangeset for help on using the changeset viewer.