Installation¶
MCNNTUNES can be installed either with pip or from source:
Installing with pip¶
You can install MCNNTUNES directly from PyPI:
pip install mcnntunes
The pip
program will take care of all the required dependencies, except for YODA (view Installing external dependencies). Please note that MCNNTUNES requires Python 3.6 or greater.
Installing from source¶
If you prefer to install MCNNTUNES directly from source, clone the repository from GitHub:
Then, install the requirements:
The pip
program will take care of all the required dependencies, except for YODA (view Installing external dependencies). Finally, install MCNNTUNES using pip
:
Installing external dependencies¶
The YODA library is not available from PyPI and must be installed manually. You can download it from the website and install it following standard GNU procedure, e.g.:
where $PREFIX
is the installation path. If not specified, the default prefix is /usr/local/
. If you use a Conda package manager, you may be interested in using PREFIX=$CONDA_PREFIX
. Make sure to set up your environment properly so that the Python interpreter is able to import YODA.
In order to use the hyperparameter tuning procedure with a parallel search, you also need to install MongoDB.