Skip to content
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

Rgtsvm::svm running slower than e1071::svm #18

Open
NathanSkene opened this issue Aug 23, 2019 · 2 comments
Open

Rgtsvm::svm running slower than e1071::svm #18

NathanSkene opened this issue Aug 23, 2019 · 2 comments

Comments

@NathanSkene
Copy link

Got Rgtsvm installed and tested it out on a multi class classification task. Training dataset has 12713 samples with 26 variables for each. Rgtsvm is running 1/3rd slower than e1071. Any guesses on what could be causing this? Happy to send over the dataset if that might help. Thanks!

> start.time <- Sys.time()
> model_svm1 <- Rgtsvm::svm(Celltype ~ . , trainingData)
> end.time <- Sys.time()
> time.taken <- end.time - start.time
> time.taken
Time difference of 1.031099 mins
>
> start.time <- Sys.time()
> model_svm2 <- e1071::svm(Celltype ~ . , trainingData)
> end.time <- Sys.time()
> time.taken <- end.time - start.time
> time.taken
Time difference of 43.36015 secs
@NathanSkene
Copy link
Author

@wzhy2000
Copy link
Contributor

I got the same results using your data. I think your data is too small to be used to show GPU's performance. Would you like to try the big data, for example, 500K or 1M samples?

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

No branches or pull requests

2 participants