Skip to main content

Support vector machines (SVMs) and related kernel-based learning algorithms are a well-known class of machine learning algorithms, for non- parametric classification and regression. liquidSVM is an implementation of SVMs whose key features are: fully integrated hyper-parameter selection, extreme speed on both small and large data sets, inclusion of a variety of different classification and regression scenarios, and full flexibility for experts.

Project description

Welcome to the Python bindings for liquidSVM.

Summary:

Then to try it out issue on the command line

python -m liquidSVM covtype.1000 mc --display=1

**NOTE**: it might be possible that there is a problem with the last
line if there are files called ``liquidSVM*`` in the current
directory, so change to some other or a newly created one.

Or use it in an interactive shell

from liquidSVM import *
model = mcSVM(iris, iris_labs, display=1,threads=2)
result, err = model.test(iris, iris_labs)
result = model.predict(iris)

reg = LiquidData('reg-1d')
model = lsSVM(reg.test, display=1)
result, err = model.test(reg.test)

More Information can be found in the demo [jupyter notebook] and in

from liquidSVM import *
help(SVM)
help(doc.configuration)

Both liquidSVM and these bindings are provided under the AGPL 3.0 license.

Native Library Compilation

liquidSVM is implemented in C++ therefore a native library needs to be compiled and included in the Python process. Binaries for Windows are included, however if it is possible for you, we recommend you compile it for every machine to get full performance.

To set compiler options use the the environment variable LIQUIDSVM_CONFIGURE_ARGS. The first word in it can be any of the following:

native

usually the fastest, but the resulting library is usually not portable to other machines.

generic

should be portable to most machines, yet slower (factor 2 to 4?)

debug

compiles with debugging activated (can be debugged e.g. with gdb)

empty

No special compilation options activated.

The remainder of the environment variable will be passed to the compiler. Extract http://www.isa.uni-stuttgart.de/software/python/liquidSVM-python.tar.gz and change into the directory. On Linux and MacOS X command line use for instance:

LIQUIDSVM_CONFIGURE_ARGS="native -mavx2" python setup.py bdist
LIQUIDSVM_CONFIGURE_ARGS=generic python setup.py bdist
MacOS:

Install Xcode and then the optional command line tools are installed from therein.

Windows:

If you have VisualStudio installed then you should have an environment variable like %VS90COMNTOOLS% (for VisualStudio 2015). Still it seems that setup.py needs to have this information in %VS90COMNTOOLS% so copy that environment variable or use for example:

set VS90COMNTOOLS=%VS140COMNTOOLS%

**Note:** At the moment the Visual Studio for Python only gives
Version 9.0 and this is too old for compilation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liquidSVM-1.0.1.tar.gz (560.4 kB view details)

Uploaded Source

Built Distributions

liquidSVM-1.0.1-py3.6-win-amd64.egg (697.2 kB view details)

Uploaded Source

liquidSVM-1.0.1-py3.6-macosx-10.7-x86_64.egg (836.7 kB view details)

Uploaded Source

liquidSVM-1.0.1-py3.5-win-amd64.egg (697.5 kB view details)

Uploaded Source

liquidSVM-1.0.1-py2.7-win-amd64.egg (693.6 kB view details)

Uploaded Source

liquidSVM-1.0.1-py2.7-macosx-10.7-x86_64.egg (807.0 kB view details)

Uploaded Source

liquidSVM-1.0.1-cp36-cp36m-win_amd64.whl (677.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

liquidSVM-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl (817.3 kB view details)

Uploaded CPython 3.6m macOS 10.7+ x86-64

liquidSVM-1.0.1-cp35-cp35m-win_amd64.whl (677.9 kB view details)

Uploaded CPython 3.5m Windows x86-64

liquidSVM-1.0.1-cp27-cp27m-win_amd64.whl (695.0 kB view details)

Uploaded CPython 2.7m Windows x86-64

liquidSVM-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl (808.5 kB view details)

Uploaded CPython 2.7m macOS 10.7+ x86-64

File details

Details for the file liquidSVM-1.0.1.tar.gz.

File metadata

  • Download URL: liquidSVM-1.0.1.tar.gz
  • Upload date:
  • Size: 560.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for liquidSVM-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3b11e2068660bf0a0e8140565629f5e0c7788c6a528b5faa624857b433b2f99f
MD5 bd0fae48bfd7e294fad69073625282c4
BLAKE2b-256 9276202fa2be6c5927b93b1c21f3ebb3cd766e3dffd12d3c3fcd2b7b8f39d5f3

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-py3.6-win-amd64.egg.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-py3.6-win-amd64.egg
Algorithm Hash digest
SHA256 f53e731e1ba4b9d216ac117bf6b03368f680e16af5b4c64059f58737599213f5
MD5 88fa180084dcbc46a5614224f7162e19
BLAKE2b-256 66d72359befbd828882f8a0cea3511b90e3b0708f28397e3e3584f9920b46211

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-py3.6-macosx-10.7-x86_64.egg.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-py3.6-macosx-10.7-x86_64.egg
Algorithm Hash digest
SHA256 ffefe20d1df93f41dc420d5ad1b61a9d993c47edbf13665fd2c16897cb2b777c
MD5 2a0ca6a57243d8f29acc66de8613781b
BLAKE2b-256 8226d0f4e8ba946a7e4db2877881e62fa4491bd578fa7b46aa45529e26871b0b

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-py3.5-win-amd64.egg.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-py3.5-win-amd64.egg
Algorithm Hash digest
SHA256 eb8668ae25907ff4c1de1ac0c675c17683ca59aa03073c6e212e3c84ef32ca54
MD5 90c13a47cfa62c3d5e1bdadaaa5d0cf7
BLAKE2b-256 4cb5ba7c5ec3dedb917fb615fce0d7593ef03113eeb8133c952a95bf49006992

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 dd73071cb1f558c28d130f2d3352a2d8e15f530307fda28d8ddbffd8a322f5e2
MD5 0c50b3003b774590bacbb5c30720e0f9
BLAKE2b-256 c2d2f01559ee7344814916100ee94b7806771aa9d568ddc87ff2490d98ea94da

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-py2.7-macosx-10.7-x86_64.egg.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-py2.7-macosx-10.7-x86_64.egg
Algorithm Hash digest
SHA256 1017fd29ca2462cbd1be48b931d4dfbc93d7420c452da2f10f4d097d67f286e5
MD5 892eb991619ac726f6dd10175aa0d91a
BLAKE2b-256 5ea6c0117cf2721971d8f5bc7b6cbfaf664a90ba6fc2c0dd0a7f16120640babc

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 10b3bccabf8a7c3fef95ad857102f9a57cd4f9a3f0607df9ad858773e4e8d0f6
MD5 cd0307cce904551a6658320b4d336560
BLAKE2b-256 ed9a8d9de2866100b56a12e16fc73437aaf5316a1ffec2696249d712c55fe394

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 a23142d107f36f09eb1f8fa64472a2b8df8efe5a3bf78410155be7a331e6b1e6
MD5 1ae5e643af623ec8db5cfbe349762fea
BLAKE2b-256 8c9945d8575944bf33333b8d0dbdc90bd6771073c0ca5dc1982c3d5b5954b667

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 c683e27e1a090dca4b31cf925623b9fa41da13f3992ce4fc6395839dd2b4f0c7
MD5 1a66e6dc20c9a3a28ecb33d02376dc3f
BLAKE2b-256 0d3bb699d74c783ca97170c6f0eec7fd1da11696f7530ad2bc642bd5a4a98a0a

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 a095adbf055e0d9d3ca3d9bf2adbfed4171a6bedc8c83b4804c9ce78a9eac2f6
MD5 5ec0b66973e0935ba9c221117ade590f
BLAKE2b-256 bca8b6066917fa3e735928135ec0a649610374601acdaa7b13707bbb5f93a52b

See more details on using hashes here.

File details

Details for the file liquidSVM-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for liquidSVM-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 23f8542ea35928ae257934eab5a97e59efebd75a4a01c3312a13699e691d2864
MD5 9fb5034b66341abeeea2a2eaf577e008
BLAKE2b-256 ebe7bacaab053a39b0e5d9695307bec6d949e9210f687a219970f7acb99a8e34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page