Quickstart¶
Dependencies¶
Before starting you will need Python 3.4 or newer. You need to have numpy, scipy, and pip installed and we recommend installing Anaconda/Miniconda for your desired Python version.
There are a couple of optional components of pySOT that needs to be installed manually:
py-earth: Implementation of MARS. Can be installed using:
pip install six http://github.com/scikit-learn-contrib/py-earth/tarball/master
or
git clone git://github.com/scikit-learn-contrib/py-earth.git cd py-earth pip install six python setup.py install
mpi4py: This module is necessary in order to use pySOT with MPI. Can be installed through pip:
pip install mpi4py
or through conda (Anaconda/Miniconda) where it can be channeled with your favorite MPI implementation such as mpich:
conda install --channel mpi4py mpich mpi4py
Installation¶
There are currently two ways to install pySOT:
(Recommended) The easiest way to install pySOT is through pip in which case the following command should suffice:
pip install pySOT
The other option is cloning the repository and installing.
git clone https://github.com/dme65/pySOT
cd pySOT
python setup.py install
Several examples are available in ./pySOT/examples and ./pySOT/notebooks