Changeset 456


Ignore:
Timestamp:
Dec 16, 2005, 1:19:34 PM (16 years ago)
Author:
Markus Ringnér
Message:

Updated to use DataViews?

Location:
trunk/lib/classifier
Files:
2 edited

Legend:

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

    r454 r456  
    33#include <c++_tools/classifier/NCC.h>
    44
    5 #include <c++_tools/gslapi/matrix.h>
     5#include <c++_tools/classifier/DataView.h>
    66#include <c++_tools/gslapi/vector.h>
    77#include <c++_tools/statistics/Averager.h>
     
    1616namespace classifier {
    1717
    18   NCC::NCC(const gslapi::matrix& data, const gslapi::vector& target)
     18  NCC::NCC(const DataView& data, const gslapi::vector& target)
    1919  {
    2020    gslapi::vector sorted_target(target);
     
    7070  }
    7171
    72 }} // of namespace svm and namespace theplu
     72}} // of namespace classifier and namespace theplu
  • trunk/lib/classifier/NCC.h

    r454 r456  
    44#define _theplu_classifier_ncc_
    55
     6#include <c++_tools/classifier/DataView.h>
    67#include <c++_tools/gslapi/matrix.h>
    78#include <c++_tools/statistics/Score.h>
     
    3132    /// input. Performs the training of the NCC.
    3233    ///
    33     NCC(const gslapi::matrix&, const gslapi::vector&);
     34    NCC(const DataView&, const gslapi::vector&);
    3435
    3536    ///
     
    6566 
    6667 
    67 }} // of namespace svm and namespace theplu
     68}} // of namespace classifier and namespace theplu
    6869
    6970#endif
Note: See TracChangeset for help on using the changeset viewer.