Skip to content

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

@NathanSkene

Description

@NathanSkene

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions