Learn R Programming

⚠️There's a newer version (1.2.4) of this package.Take me there.

liquidSVM

liquidSVM is a package written in C++ that provides SVM-type solvers for various classification and regression tasks. Because of a fully integrated hyper-parameter selection, very carefully implemented solvers, multi-threading and GPU support, and several built-in data decomposition strategies it provides unprecedented speed for small training sizes as well as for data sets of tens of millions of samples.

You can use it e.g. for multi-class classification, least squares (kernel) regression, or even quantile regression, etc.:

install.packages("liquidSVM")
library(liquidSVM)

model <- mcSVM(Species ~ ., iris)
predict(model, iris)

model <- lsSVM(Height ~ ., trees)
y <- predict(model, trees)

model <- svmQuantileRegression(Height ~ ., trees)
y <- test(model, trees)

If you install build the package to be used on several machines please use the following:

install.packages("liquidSVM", configure.args="generic")

For details please look at the vignettes demo and documentation. Also check the help ?liquidSVM and ?svm. For the command-line version and other bindings go to (http://www.isa.uni-stuttgart.de/software/).

Copy Link

Version

Install

install.packages('liquidSVM')

Monthly Downloads

57

Version

1.2.2

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Philipp Thomann

Last Published

January 10th, 2019

Functions in liquidSVM (1.2.2)

bsSVM

Bootstrap
Configuration

liquidSVM model configuration parameters.
rocSVM

Receiver Operating Characteristic curve (ROC curve)
reg-1d

reg-1d.train and reg-1d.test
getCover

Get Cover of partitioned SVM
getSolution

Retrieve the solution of an SVM
banana

banana-bc.train, banana-bc.test banana-mc.train, and banana-mc.test
nplSVM

Neyman-Pearson-Learning
init.liquidSVM

Initialize an SVM object.
plotROC

Plots the ROC curve for a result or model
kern

Calculates the kernel matrix.
svm

Convenience function to initialize, train, select, and optionally test an SVM.
test.liquidSVM

Tests new data using the selected SVM.
mlr-liquidSVM

liquidSVM functions for mlr
print.liquidSVM

Printing an SVM model.
clean.liquidSVM

Force to release the internal memory of the C++ objects associated to this model.
mcSVM

Multiclass Classification
predict.liquidSVM

Predicts labels of new data using the selected SVM.
trainSVMs

Trains an SVM object.
selectSVMs

Selects the best hyper-parameters of all the trained SVMs.
write.liquidData

Write Smldata
setDisplay

Set display info mode that controls how much information is displayed by liquidSVM C++ routines. Usually you will use display=d in svm(...) etc.
read.liquidSVM

Read and Write Solution from and to File
qtSVM

Quantile Regression
errors

Obtain the test errors result.
command-args

liquidSVM command line options
exSVM

Expectile Regression
compilationInfo

Compilation information: whether the library was compiled using SSE2 or even AVX.
liquidSVM-package

liquidSVM for R
lsSVM

Least Squares Regression
liquidData

Loads or downloads training and testing data
liquidSVM-class

A Reference Class to represent a liquidSVM model.