EnglishFrenchSpanish

OnWorks favicon

svm-predict - Online in the Cloud

Run svm-predict in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command svm-predict that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


svm-predict - make predictions based on a trained SVM model file and test data

SYNOPSIS


svm-predict [ -b probability_estimates ] [ -q ] test_data model_file [ output_file ]

DESCRIPTION


svm-predict uses a Support Vector Machine specified by a given input model_file to make
predictions for each of the samples in test_data
The format of this file is identical to the training_data file used in svm_train(1) and
is just a sparse vector as follows:

<label> <index1>:<value1> <index2>:<value2> . . .

.

.

.

There is one sample per line. Each sample consists of a target value (label or regression
target) followed by a sparse representation of the input vector. All unmentioned
coordinates are assumed to be 0. For classification, <label> is an integer indicating the
class label (multi-class is supported). For regression, <label> is the target value which
can be any real number. For one-class SVM, it's not used so can be any number. Except
using precomputed kernels (explained in another section), <index>:<value> gives a feature
(attribute) value. <index> is an integer starting from 1 and <value> is a real number.
Indices must be in an ASCENDING order. If you have label data available for testing then
you can enter these values in the test_data file. If they are not available you can just
enter 0 and will not know real accuracy for the SVM directly, however you can still get
the results of its prediction for the data point.

If output_file is given, it will be used to specify the filename to store the
predicted results, one per line, in the same order as the test_data file.

OPTIONS


-b probability-estimates
probability_estimates is a binary value indicating whether to calculate probability
estimates when training the SVC or SVR model. Values are 0 or 1 and defaults to 0
for speed.

-q quiet mode; suppress messages to stdout.

Use svm-predict online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad