Giter Site home page Giter Site logo

Comments (15)

haifengl avatar haifengl commented on April 29, 2024

What's your use case? Do you want it mt-safe for training or testing/prediction? Thanks!

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

My case: I am looking for a NeuralNet capable to train a corpus of 20GB data in a 8-thread server. Already tried @deeplearning4j and other java impl., but didn't like any of it.

Predicting not mt-safe could be bypassed implementing a resource manager (such as priority queue or duplicating models).

Since Smile was clean, source independent and intuitive (got running mt-thread SVM and Random Forest in a couple minutes), thought to ask about project priorities :)

from smile.

haifengl avatar haifengl commented on April 29, 2024

I doubt how much we can gain by making training of neural net mt-safe. There are a lot of shared data (weights in the net). To make it mt-safe, locking/mutex will make it slow. Can you have a try with your data in single thread to see how long it takes? Thanks!

BTW, Neural Net of smile is traditional back propagation algorithm. It is different deep learning and is suitable for different problems.

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

Wow, it makes sense. I will give a try and and im closing this issue. Thanks for the answer!

from smile.

haifengl avatar haifengl commented on April 29, 2024

Any updates? Is it too slow for you? Thanks!

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

Found some bugs in my code at "processing features" phase. After validating this, I am going to test and post some results here!

from smile.

haifengl avatar haifengl commented on April 29, 2024

Thanks! If you have any questions about Smile's NeuralNetwork, please feel free open a ticket.

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

Hi, finally got my first results.

Training 10k instances (14k attributes) got 33 seconds to learn.

Train size:10000
Training in: 33.127 seconds
Test size: 1000
Finishing Cross Validation
Final precision: 0.91607128289355
Final recall: 0.908765520895934

Next step: 100k

from smile.

haifengl avatar haifengl commented on April 29, 2024

Given the sample size, the number of attributes, this looks very good to you. How do you feel? Especially compared to your experience with other packages? Thank you very much for reporting the results!

Btw, what's neural net settings?

from smile.

haifengl avatar haifengl commented on April 29, 2024

Can you please write a post on our wiki describing what you are doing? It doesn't have to be long. Simply describe your data and your problem, why you choose neural net, how you train and test the model (and some code snippets). This will be extremely valuable for others. Thanks a lot in advance!

from smile.

haifengl avatar haifengl commented on April 29, 2024

BTW, our SVM training algorithm is also an online algorithm. You may want to give it a try and compare it to neural net. Thanks!

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

My experience has been awesome. Please, keep this great job, elegant and effective :)

And sure, it would be great! I am going to test everything before and then I will write the post.

About SVM, I tried it in first time. But got results on 0.7 / 0.9 in prec/recall. And it got time to train (like 250 seconds). But I will give a second try, right after implement a naive grid search.

Thanks!

from smile.

haifengl avatar haifengl commented on April 29, 2024

How's going with 100k?

from smile.

owlmsj avatar owlmsj commented on April 29, 2024

Hi! Really sorry for the delay. I was "stormed" by my Master's thesis qualification (writing and evaluating a lot what already did).

Getting back to the track tomorrow and hope to give good news (results and blog post) soon.

from smile.

haifengl avatar haifengl commented on April 29, 2024

Thanks for updates! Hope everything is fine with you.

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.