Julia Python
Clone or download
Latest commit 6d123d0 Jul 15, 2018
Failed to load latest commit information.
deps apredict added Apr 30, 2018
examples dir structure changed Dec 19, 2016
scripts array fixes Mar 13, 2017
src immutable->struct Jul 10, 2018
test degree argument added Apr 29, 2018
tools array fixes Mar 13, 2017
.gitignore links added Jun 16, 2017
.travis.yml 0.5 removed from .travis.yml Jul 12, 2018
ACKNOWLEDGMENTS.md ready Feb 20, 2017
COPYING.md ready Feb 20, 2017
LICENSE Initial commit Dec 20, 2016
README.md developers added Aug 4, 2017
REQUIRE require v0.6 Jul 15, 2018



SVR Build Status Coverage Status

Support Vector Regression (SVR) analysis in Julia utilizing the libSVM library.

SVR is a module of MADS (Model Analysis & Decision Support).




import SVR

# read a libSVM input file
x, y = SVR.readlibsvmfile("mg.libsvm")

# train a libSVM model
pmodel = SVR.train(y, x');

# predict based on the libSVM model
y_pr = SVR.predict(pmodel, x');

# save the libSVM model
SVR.savemodel(pmodel, "mg.model")

# free the memory allocation of the libSVM model


MADS (Model Analysis & Decision Support) is an integrated open-source high-performance computational (HPC) framework in Julia. MADS can execute a wide range of data- and model-based analyses:

  • Sensitivity Analysis
  • Parameter Estimation
  • Model Inversion and Calibration
  • Uncertainty Quantification
  • Model Selection and Model Averaging
  • Model Reduction and Surrogate Modeling
  • Machine Learning and Blind Source Separation
  • Decision Analysis and Support

MADS has been tested to perform HPC simulations on a wide-range multi-processor clusters and parallel environments (Moab, Slurm, etc.). MADS utilizes adaptive rules and techniques which allows the analyses to be performed with a minimum user input. The code provides a series of alternative algorithms to execute each type of data- and model-based analyses.


All the available MADS modules and functions are described at madsjulia.github.io


After starting Julia, execute:


Installation of MADS behind a firewall

Julia uses git for package management. Add in the .gitconfig file in your home directory:

[url "https://"]
        insteadOf = git://

or execute:

git config --global url."https://".insteadOf git://

Set proxies:

export ftp_proxy=http://proxyout.<your_site>:8080
export rsync_proxy=http://proxyout.<your_site>:8080
export http_proxy=http://proxyout.<your_site>:8080
export https_proxy=http://proxyout.<your_site>:8080
export no_proxy=.<your_site>

For example, if you are doing this at LANL, you will need to execute the following lines in your bash command-line environment:

export ftp_proxy=http://proxyout.lanl.gov:8080
export rsync_proxy=http://proxyout.lanl.gov:8080
export http_proxy=http://proxyout.lanl.gov:8080
export https_proxy=http://proxyout.lanl.gov:8080
export no_proxy=.lanl.gov

MADS examples

In Julia REPL, do the following commands:

import Mads

To explore getting-started instructions, execute:


There are various examples located in the examples directory of the Mads repository.

For example, execute

include(Mads.madsdir * "/../examples/contamination/contamination.jl")

to perform various example analyses related to groundwater contaminant transport, or execute

include(Mads.madsdir * "/../examples/bigdt/bigdt.jl")

to perform Bayesian Information Gap Decision Theory (BIG-DT) analysis.


Publications, Presentations, Projects