Skip to main content

Whitebeam is a framework for creating decision tree functions.

Project description

whitebeam

whitebeam is a python module for decision trees without the use of sklearn and SciPy

docs Documentation Status
test Build Status Requirements Status
package PythonVersion PyPI version GitHub commits since latest release (by date) GitHub last commit codecov

The project was started in 2020 by Kieran Molloy as a coursework component for SCC461 at Lancaster University

Installation

Dependencies

whitebeam requires:

  • Python (>= 3.6)
  • NumPy (>= 1.14)
  • Cython (>= 0.29.21)
  • joblib (>= 1.0.0)

User Installation

If you already have a working directory, the easiest installation is via pip

pip install whitebeam

However it is advisable to install within a virtual environment

virtualenv venv
venv/bin/activate
pip install whitebeam

There will soon be more detailed installation instructions in the docs.

Changelog

See the changelog for a history of notable changes to whitebeam

Development

Development is planned to be ongoing however this may change due to university requirements.

Source Installation

Installing from source requires python-dev which can be installed using

sudo apt-get install python3-dev

then cloning this repo, installing requirements and building which is handled by poetry

git clone https://github.com/K-Molloy/whitebeam
pip install -r requirements.txt
python setup.py build_ext --inplace

again, it is advisable to use a virtual environment.

Testing

After installation, the test suite can be launched from outside the source directory ( although pytest >= 5.01 must be installed)

pytest whitebeam 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whitebeam-1.1.tar.gz (69.9 kB view details)

Uploaded Source

Built Distribution

whitebeam-1.1-cp38-cp38-manylinux2014_x86_64.whl (432.7 kB view details)

Uploaded CPython 3.8

File details

Details for the file whitebeam-1.1.tar.gz.

File metadata

  • Download URL: whitebeam-1.1.tar.gz
  • Upload date:
  • Size: 69.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/4.19.128-microsoft-standard

File hashes

Hashes for whitebeam-1.1.tar.gz
Algorithm Hash digest
SHA256 2624102dfeb3103b6f05808914463530060eabe4d6941a89cc6e122aa1f74d80
MD5 f2dc08666e3cd003933e9b3dc4e2ae39
BLAKE2b-256 8e29c8b2ce0e6ba7b2ef8940bfca6766d62107d7a5f3f43825c89ff22b8a4a25

See more details on using hashes here.

File details

Details for the file whitebeam-1.1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for whitebeam-1.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2510e985c5fab53d9429560bedc0bab7f4ab8e41521911d070b0b74fd5e67665
MD5 8f070566b2a2e54a93e1e56633816fcc
BLAKE2b-256 3a3ff832d23966ee0da7c67e7fa4256dfe3f50e0ba28a2e8621badd8d1989d91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page