Ignore:
Timestamp:
Feb 26, 2008, 4:29:50 PM (14 years ago)
Author:
Markus Ringnér
Message:

Fixes #333

File:
1 edited

Legend:

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

    r1157 r1160  
    3333namespace classifier { 
    3434
    35   class DataLookup1D;
    36   class DataLookup2D;
    3735  class MatrixLookup;
    3836  class MatrixLookupWeighted;
     
    10098       equivalent to using all weight equal to unity.
    10199    */
    102     void predict(const DataLookup2D& data, utility::Matrix& res) const;
     100    void predict(const MatrixLookup& data, utility::Matrix& res) const;
     101
     102    /**
     103       @see above
     104     */
     105    void predict(const MatrixLookupWeighted& data, utility::Matrix& res) const;
    103106
    104107
    105108  private:
     109    void standardize_lnP(utility::Matrix& prediction) const;
     110
    106111    utility::Matrix centroids_;
    107112    utility::Matrix sigma2_;
Note: See TracChangeset for help on using the changeset viewer.