Install and contribution¶
Seglearn is tested to work under Python 3.5. The dependency requirements are based on the last scikit-learn release:
Additionally, to run the examples, you need:
keras (>=2.1.4) for the neural network examples
In order to run the test cases, you need:
The neural network examples were tested on keras using the tensorflow-gpu backend, which is recommended.
seglearn-learn is currently available on the PyPi’s repository and you can install it via pip:
pip install -U seglearn
If you prefer, you can clone it and run the setup.py file. Use the following commands to get a copy from GitHub and install all dependencies:
git clone https://github.com/dmbee/seglearn.git cd seglearn pip install .
Or install using pip and GitHub:
pip install -U git+https://github.com/dmbee/seglearn.git
After installation, you can use pytest to run the test suite from seglearn’s root directory: