Learn R Programming

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

73

Version

1.2.4

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Philipp Thomann

Last Published

September 14th, 2019

Functions in liquidSVM (1.2.4)

banana

banana-bc.train, banana-bc.test banana-mc.train, and banana-mc.test
mlr-liquidSVM

liquidSVM functions for mlr
mcSVM

Multiclass Classification
plotROC

Plots the ROC curve for a result or model
nplSVM

Neyman-Pearson-Learning
rocSVM

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

reg-1d.train and reg-1d.test
liquidSVM-package

liquidSVM for R
lsSVM

Least Squares Regression
liquidSVM-class

A Reference Class to represent a liquidSVM model.
liquidData

Loads or downloads training and testing data
svm

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

Tests new data using the selected SVM.
selectSVMs

Selects the best hyper-parameters of all the trained SVMs.
init.liquidSVM

Initialize an SVM object.
qtSVM

Quantile Regression
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.
kern

Calculates the kernel matrix.
predict.liquidSVM

Predicts labels of new data using the selected SVM.
print.liquidSVM

Printing an SVM model.
read.liquidSVM

Read and Write Solution from and to File
trainSVMs

Trains an SVM object.
write.liquidData

Write Smldata
command-args

liquidSVM command line options
errors

Obtain the test errors result.
getCover

Get Cover of partitioned SVM
bsSVM

Bootstrap
getSolution

Retrieve the solution of an SVM
exSVM

Expectile Regression
clean.liquidSVM

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

liquidSVM model configuration parameters.
compilationInfo

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