New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbc fails when compiled without debugging symbols #269

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

Comments

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

This comment has been minimized.

Show comment
Hide comment
@rcurtin

rcurtin Dec 30, 2014

Member

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

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