EnglishFrenchSpanish

Ad


OnWorks favicon

mlpack_linear_regression - Online in the Cloud

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

This is the command mlpack_linear_regression 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


mlpack_linear_regression - simple linear regression and prediction

SYNOPSIS


mlpack_linear_regression [-h] [-v] [-m string] [-l double] [-M string] [-p string] [-T string] [-t string] [-r string] -V

DESCRIPTION


An implementation of simple linear regression and simple ridge regression using ordinary
least squares. This solves the problem

y = X * b + e

where X (--input_file) and y (the last column of --input_file, or --input_responses) are
known and b is the desired variable. If the covariance matrix (X'X) is not invertible, or
if the solution is overdetermined, then specify a Tikhonov regularization constant
(--lambda) greater than 0, which will regularize the covariance matrix to make it
invertible. The calculated b is saved to disk (--output_file).

Optionally, the calculated value of b is used to predict the responses for another matrix
X' (--test_file):

y' = X' * b

and these predicted responses, y', are saved to a file (--output_predictions). This type
of regression is related to least-angle regression, which mlpack implements with the
'lars' executable.

OPTIONS


--help (-h)
Default help info.

--info [string]
Get help on a specific module or option. Default value ''. --input_model_file
(-m) [string] File containing existing model (parameters). Default value ''.

--lambda (-l) [double]
Tikhonov regularization for ridge regression. If 0, the method reduces to linear
regression. Default value 0. --output_model_file (-M) [string] File to save
trained model to. Default value ’'. --output_predictions (-p) [string] If
--test_file is specified, this file is where the predicted responses will be saved.
Default value 'predictions.csv'.

--test_file (-T) [string]
File containing X' (test regressors). Default value ''. --training_file (-t)
[string] File containing training set X (regressors). Default value ''.
--training_responses (-r) [string] Optional file containing y (responses). If not
given, the responses are assumed to be the last row of the input file. Default
value ''.

--verbose (-v)
Display informational messages and the full list of parameters and timers at the
end of execution.

--version (-V)
Display the version of mlpack.

ADDITIONAL INFORMATION


ADDITIONAL INFORMATION


For further information, including relevant papers, citations, and theory, For further
information, including relevant papers, citations, and theory, consult the documentation
found at http://www.mlpack.org or included with your consult the documentation found at
http://www.mlpack.org or included with your DISTRIBUTION OF MLPACK. DISTRIBUTION OF
MLPACK.

mlpack_linear_regression(1)

Use mlpack_linear_regression online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad