thermoencoder
Table of Contents
Installation
The thermoencoder git repo is available as PyPi package
pip install thermoencoder
Usage
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
Commands
- Check syntax:
flake8 --ignore=F401 - Run Unit Tests:
python -W ignore -m unittest discover - Remove
.pycfiles:find . -type f -name "*.pyc" | xargs rm - Remove
__pycache__folders:find . -type d -name "__pycache__" | xargs rm -rf - Upload to PyPi:
python setup.py sdist upload -r pypi - Upload to PyPi with twine:
python setup.py sdist && twine upload -r pypi dist/*
Debugging
- Notebooks to profile python code are in the profile folder
Support
Please open an issue for support.
Contributing
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
Metadata
Release files for thermoencoder 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thermoencoder-0.1.2.tar.gz | 3.7 kB | Details |
Release files / thermoencoder-0.1.2.tar.gz
| Download URL | thermoencoder-0.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05bf0805205c8e5a2071652229cb14b2defd929bb9331c0fef84cd67e59274b0
|
|
BLAKE2b-256 checksum How to use checksums |
f528eba37dd717d5838a605821a6b037ebd71c58737a67e6df60909c7a2c1c31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|