Quick Start¶
Programming Language: Python 3.5, 3.6, 3.7
Python Packages: numpy, scipy, scikit-learn
You just want to use it¶
1. conda or pip installation¶
The koho
package is available through conda-forge and PyPi and
can be installed using conda or pip:
$: conda install -c conda-forge koho
$: pip install koho
2. Read the Docs¶
The koho documentation is hosted on Read the Docs:
Firefox: http://koho.readthedocs.io
3. Jupyter notebook¶
The koho
package can be used with jupyter notebook:
$: conda install jupyter
$: conda install tornado=5.1.1 # downgrade if connection problems with jupyter
$: jupyter notebook
[] from koho.sklearn import DecisionTreeClassifier, DecisionForestClassifier
[] ...
Download¶
1. Download and install repository¶
Clone the koho repository from GitHub:
$: sudo apt install git
$: git clone https://github.com/aiwerkstatt/koho.git
Build and install the koho
package:
koho$: pip install -e .
2. Generate the documentation¶
Generate the koho
documentation using sphinx:
$: conda install sphinx sphinx-gallery sphinx_rtd_theme matplotlib numpydoc pillow
koho/doc$: make html
View the koho
documentation:
Firebox: file:///home/<user>/<...>/koho/doc/_build/html/index.html
3. Run tests¶
Test the koho
package using pytest with pytest-cov plugin:
$: conda install pytest pytest-cov
koho$: pytest --disable-pytest-warnings -v --cov=koho --pyargs koho