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
Caught and logged exception with randomforest #16
Comments
Thanks for the bug report! Do you have a stack dump? |
That's it because the random forest implementation swallows it. The interesting thing is that the forest still appears to work correctly
|
I'm pretty sure the log line comes from here: |
Thanks! Can you please change that line to ex.printStackTrace() and run it again? |
Fixed. Can you try version 1.0.2? Thanks! If your machine is multi-core, it should be faster now. |
@mschulkind Any updates? Thanks! |
Sorry for the delay. I was out of town. I just updated and I no longer get the exception. Thanks. Any idea why my example never exits though? It seems like it must be On Thu, Mar 12, 2015 at 9:17 AM, Haifeng Li notifications@github.com
|
Do you mean that everything runs fine and you get all results, but the program doesn't exit? Or the program hangs in the creating the random forest? Thanks! |
Things run, but the program never exits. It hangs after main() returns. On Thu, Mar 12, 2015 at 10:44 AM, Haifeng Li notifications@github.com
|
There is a thread pool, shared by many algorithms. If you are the master branch, you can use smile.util.MulticoreExecutor.shutdown() at the end of your program to exit smoothly. Thanks! |
Thanks! On Thu, Mar 12, 2015 at 11:27 AM, Haifeng Li notifications@github.com
|
Things seem to work, but I'm seeing a exception in the console with a small test app:
Runnable source here:
https://github.com/mschulkind/smile-test
This is the bulk of it:
The text was updated successfully, but these errors were encountered: