Skip to content

BCG-X-Official/pytools

Repository files navigation

image

pytools is an open source library containing general machine learning and visualisation utilities for reuse, including:

  • Basic tools for API development, supporting documentation, deprecation, and run-time validation
  • Support for simulating classification and regression data
  • Utilities for constructing complex expressions and rendering them as indented strings
  • Support for fitting objects to data, and testing whether an object is fitted
  • Parallelization based on the joblib package
  • A lean MVC framework for rendering basic visualizations in different styles, e.g., as matplotlib charts or as plain text

pypi conda python_versions code_style made_with_sphinx_doc license_badge

Installation

pytools supports both PyPI and Anaconda. We recommend to install pytools into a dedicated environment.

Anaconda

conda create -n pytools
conda activate pytools
conda install -c bcg_gamma -c conda-forge gamma-pytools

Pip

macOS and Linux:

python -m venv pytools
source pytools/bin/activate
pip install gamma-pytools

Windows:

python -m venv pytools
pytools\Scripts\activate.bat
pip install gamma-pytools

Documentation

For the pytools API reference see the documentation.

Changes and additions to new versions are summarized in the release notes.

Contributing

pytools is stable and is being supported long-term.

Contributions to pytools are welcome and appreciated. For any bug reports or feature requests/enhancements please use the appropriate GitHub form, and if you wish to do so, please open a PR addressing the issue.

We do ask that for any major changes please discuss these with us first via an issue or at our team email: FacetTeam@bcg.com.

For further information on contributing please see our contribution guide.

License

pytools is licensed under Apache 2.0 as described in the LICENSE file.

BCG GAMMA

We are always on the lookout for passionate and talented data scientists to join the BCG GAMMA team. If you would like to know more you can find out about BCG GAMMA here, or have a look at career opportunities.