[mlpack-svn] [MLPACK] #350: transition to arma::Row<size_t> for holding labels

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Mon May 19 09:44:40 EDT 2014


#350: transition to arma::Row<size_t> for holding labels
---------------------+------------------------------------------------------
 Reporter:  rcurtin  |        Owner:                                                                   
     Type:  defect   |       Status:  new                                                              
 Priority:  minor    |    Milestone:  mlpack 1.1.0                                                     
Component:  mlpack   |     Keywords:  arma::Col<size_t>, arma::Row<size_t>, labels, supervised learning
 Blocking:           |   Blocked By:                                                                   
---------------------+------------------------------------------------------
 Often in mlpack's supervised learning methods, the type
 `arma::Col<size_t>` is used to hold labels.  However, data is column-
 major, which means each dimension is a row.  Therefore, it makes sense
 that labels should also be a row, and the type `arma::Row<size_t>` should
 be used instead.

 The reason that `arma::Col<size_t>` was originally used was convenience.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/350>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list