Ignore:
Timestamp:
Feb 22, 2008, 4:29:56 PM (14 years ago)
Author:
Peter
Message:

fixes #308

File:
1 edited

Legend:

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

    r1120 r1121  
    2929#include "Target.h"
    3030#include "yat/statistics/AveragerWeighted.h"
    31 #include "yat/utility/matrix.h"
     31#include "yat/utility/Matrix.h"
    3232
    3333#include <cassert>
     
    8686    sigma2_.resize(data_.rows(), target_.nof_classes());
    8787    centroids_.resize(data_.rows(), target_.nof_classes());
    88     utility::matrix nof_in_class(data_.rows(), target_.nof_classes());
     88    utility::Matrix nof_in_class(data_.rows(), target_.nof_classes());
    8989   
    9090    // unweighted
     
    144144
    145145  void NBC::predict(const DataLookup2D& x,                   
    146                     utility::matrix& prediction) const
     146                    utility::Matrix& prediction) const
    147147  {   
    148148    assert(data_.rows()==x.rows());
Note: See TracChangeset for help on using the changeset viewer.