Giter Site home page Giter Site logo

Comments (11)

haifengl avatar haifengl commented on April 28, 2024

Thanks for the bug report! Do you have a stack dump?

from smile.

mschulkind avatar mschulkind commented on April 28, 2024

That's it because the random forest implementation swallows it.

The interesting thing is that the forest still appears to work correctly
after that.
On Mar 6, 2015 9:07 PM, "Haifeng Li" [email protected] wrote:

Thanks for the bug report! Do you have a stack dump?


Reply to this email directly or view it on GitHub
#16 (comment).

from smile.

mschulkind avatar mschulkind commented on April 28, 2024

I'm pretty sure the log line comes from here:
https://github.com/haifengl/smile/blob/master/Smile/src/smile/regression/RandomForest.java#L335

from smile.

haifengl avatar haifengl commented on April 28, 2024

Thanks! Can you please change that line to ex.printStackTrace() and run it again?

from smile.

haifengl avatar haifengl commented on April 28, 2024

Fixed. Can you try version 1.0.2? Thanks! If your machine is multi-core, it should be faster now.

from smile.

haifengl avatar haifengl commented on April 28, 2024

@mschulkind Any updates? Thanks!

from smile.

mschulkind avatar mschulkind commented on April 28, 2024

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
hanging on a background thread or something. If I simple comment out the
line to create the random forest, it exits cleanly, but with it, it just
hangs, although it does return from the call to new.

On Thu, Mar 12, 2015 at 9:17 AM, Haifeng Li [email protected]
wrote:

@mschulkind https://github.com/mschulkind Any updates? Thanks!


Reply to this email directly or view it on GitHub
#16 (comment).

from smile.

haifengl avatar haifengl commented on April 28, 2024

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!

from smile.

mschulkind avatar mschulkind commented on April 28, 2024

Things run, but the program never exits. It hangs after main() returns.

On Thu, Mar 12, 2015 at 10:44 AM, Haifeng Li [email protected]
wrote:

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!


Reply to this email directly or view it on GitHub
#16 (comment).

from smile.

haifengl avatar haifengl commented on April 28, 2024

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!

from smile.

mschulkind avatar mschulkind commented on April 28, 2024

Thanks!

On Thu, Mar 12, 2015 at 11:27 AM, Haifeng Li [email protected]
wrote:

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!


Reply to this email directly or view it on GitHub
#16 (comment).

from smile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.