nbc fails when compiled without debugging symbols #269

Closed
rcurtin opened this Issue Dec 29, 2014 · 1 comment

Projects

None yet

1 participant

@rcurtin
Member
rcurtin commented Dec 29, 2014

Reported by rcurtin on 27 May 43340142 06:04 UTC
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.

@rcurtin rcurtin self-assigned this Dec 29, 2014
@rcurtin rcurtin added this to the mlpack 1.0.7 milestone Dec 29, 2014
@rcurtin rcurtin closed this Dec 29, 2014
@rcurtin
Member
rcurtin commented Dec 30, 2014

Commented by rcurtin on 6 Apr 43340176 13:12 UTC
Fixed in r15009.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment