Install

ML-Ensemble is available through PyPi. For latest stable version, install mlens through pip.

pip install mlens

Bleeding edge

To latest stable development version can be install through the master branch of the mlens repository.

git clone https://github.com/flennerhag/mlens.git; cd mlens;
python install setup.py

Developer

The developmer version can be installed through the dev branch of the mlens repository. It is advised to check the CI build status first to ensure the branch builds correctly.

Dependencies

To install mlens the following dependencies are required:

Package Version Module
scipy >= 0.17 All
numpy >= 1.11 All

Additionally, to use the visualization module, the following libraries are necessary:

Package Version
matplotlib >= 1.5
seaborn >= 0.7

If you want to run examples, you may also need:

Package Version
sklearn >= 0.17
pandas >= 0.17

Test build

To test the installation, run:

cd mlens;
python check_build.py

Note that this requires the Nose unit testing suite: if not found, the test script will automatically try to install it using pip install nose-exclude. The expected output should look like:

>>> python check_build.py
Setting up tests... Ready.
Checking build... Build ok.

If the build fails, a log file will be created named check_build_log.txt that contains the traceback for the failed test for debugging.