[mlpack-svn] [MLPACK] #279: nbc fails when compiled without debugging symbols

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Fri May 3 18:37:06 EDT 2013


#279: nbc fails when compiled without debugging symbols
---------------------+------------------------------------------------------
 Reporter:  rcurtin  |        Owner:                                 
     Type:  defect   |       Status:  new                            
 Priority:  major    |    Milestone:  mlpack 1.0.6                   
Component:  mlpack   |     Keywords:  nbc, inv, singular, naive bayes
 Blocking:           |   Blocked By:                                 
---------------------+------------------------------------------------------
 Using the test dataset and labels given by Marcus in #278,

 {{{
 $ bin/nbc -t ~/Downloads/data.csv -l ~/Downloads/labels.csv -T
 ~/Downloads/data.csv -v
 [INFO ] Loading '/home/ryan/Downloads/data.csv' as CSV data.  Size is 4 x
 150.
 [INFO ] Loading '/home/ryan/Downloads/labels.csv' as CSV data.  Size is 1
 x 150.
 [INFO ] Loading '/home/ryan/Downloads/data.csv' as CSV data.  Size is 4 x
 150.
 [INFO ] Training Naive Bayes classifier on 150 examples with 4 features
 each.
 [INFO ] Running Naive Bayes classifier on 150 data points with 4 features
 each.

 error: inv(): matrix appears to be singular

 terminate called after throwing an instance of 'std::runtime_error'
   what():
 Aborted
 }}}

 This does not occur with DEBUG=ON and PROFILE=ON.

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


More information about the mlpack-svn mailing list