thermometer encoding with sklearn interface
The thermoencoder
git repo is available as PyPi package
pip install thermoencoder
Check the examples folder for notebooks.
X = [[0, 0], [1, 1], [3, 5]] # two ordinal features with 3 samples
from thermoencoder import ThermoEncoder
enc = ThermoEncoder()
Z = enc.fit_transform(X) # encode
X_back = enc.inverse_transform(Z) # decode
flake8 --ignore=F401
python -W ignore -m unittest discover
.pyc
files: find . -type f -name "*.pyc" | xargs rm
__pycache__
folders: find . -type d -name "__pycache__" | xargs rm -rf
python setup.py sdist upload -r pypi
python setup.py sdist && twine upload -r pypi dist/*
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.