Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

thermometer encoding with sklearn interface

License

NotificationsYou must be signed in to change notification settings

kmedian/thermoencoder

Repository files navigation

Build StatusBinder

thermoencoder

Table of Contents

Installation

Thethermoencodergit repo is available asPyPi package

pip install thermoencoder

Usage

Check theexamples folder for notebooks.

X = [[0, 0], [1, 1], [3, 5]]  # two ordinal features with 3 samplesfrom thermoencoder import ThermoEncoderenc = ThermoEncoder()Z = enc.fit_transform(X)  # encodeX_back = enc.inverse_transform(Z)  # decode

Commands

  • Check syntax:flake8 --ignore=F401
  • Run Unit Tests:python -W ignore -m unittest discover
  • Remove.pyc files: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 theprofile folder

Support

Pleaseopen an issue for support.

Contributing

Please contribute usingGithub Flow. Create a branch, add commits, andopen a pull request.


[8]ページ先頭

©2009-2025 Movatter.jp