Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

How long is train_svm supposed to take #19

Open
antonywu opened this issue Apr 23, 2013 · 1 comment
Open

How long is train_svm supposed to take #19

antonywu opened this issue Apr 23, 2013 · 1 comment

Comments

@antonywu
Copy link

Honestly, thank you for creating this project. It is more or less a learning experience for me. I read about neural network and svm in the past, but never fully grasp the ideas for me to successfully apply these concepts.

With the README, I followed the instructions. The train_network seems to finish the training within an hour or two, but I still need to play with it further (plus study the code).

As for train_svm, well, it has been running for almost 39 hours straight with no results

svm antony$ node train-svm.js -p ../POSITIVES -n ../NEGATIVES
training on 18867
feature size 3388

From my end, I can see node is using about 598Mb of memory with 101% of CPU (I guess it takes over one of the dual core). I can't tel if it is stuck in an infinite loop or it is actually doing something.

So has anyone tried train_svm? How long did it take for train-svm to finish?

@harthur
Copy link
Owner

harthur commented Apr 23, 2013

I don't know how long it would take to train with all the data. I would limit the number of samples you train on. try --posLimit 500 --negLimit 500 to try it out (that shouldn't take more than an hour), then increase the limit. I've done at most 5000 samples of each and it's taken over a day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants