Changeset 1144


Ignore:
Timestamp:
Feb 25, 2008, 5:51:58 PM (14 years ago)
Author:
Markus Ringnér
Message:

Fixes #334

Location:
trunk/yat/classifier
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/KNN.h

    r1142 r1144  
    9292
    9393
    94     SupervisedClassifier* make_classifier(const DataLookup2D&,
    95                                           const Target&) const;
     94    KNN<Distance,NeighborWeighting>* make_classifier(const DataLookup2D&,
     95                         const Target&) const;
    9696   
    9797    ///
     
    273273
    274274  template <typename Distance, typename NeighborWeighting>
    275   SupervisedClassifier*
     275  KNN<Distance, NeighborWeighting>*
    276276  KNN<Distance, NeighborWeighting>::make_classifier(const DataLookup2D& data,
    277277                                                    const Target& target) const
  • trunk/yat/classifier/NBC.cc

    r1121 r1144  
    6161
    6262
    63   SupervisedClassifier*
     63  NBC*
    6464  NBC::make_classifier(const DataLookup2D& data, const Target& target) const
    6565  {     
  • trunk/yat/classifier/NBC.h

    r1123 r1144  
    6969
    7070
    71     SupervisedClassifier* make_classifier(const DataLookup2D&,
    72                                           const Target&) const;
     71    NBC* make_classifier(const DataLookup2D&,
     72                         const Target&) const;
    7373   
    7474    ///
  • trunk/yat/classifier/NCC.h

    r1142 r1144  
    8585    const DataLookup2D& data(void) const;
    8686
    87     SupervisedClassifier* make_classifier(const DataLookup2D&,
    88                                           const Target&) const;
     87    NCC<Distance>* make_classifier(const DataLookup2D&,
     88                                   const Target&) const;
    8989   
    9090    ///
     
    156156 
    157157  template <typename Distance>
    158   SupervisedClassifier*
     158  NCC<Distance>*
    159159  NCC<Distance>::make_classifier(const DataLookup2D& data, const Target& target) const
    160160  {     
Note: See TracChangeset for help on using the changeset viewer.