Skip to content

kmedian/onehot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Binder

onehot.OneHotDummy

One-Hot encoder with sklearn-ish API interface that process mixed string and numeric labels directly.

onehot.OneHotDummy does basically the same as LabelEncoder and OneHotEncoder combined. It is also inspired by pandas.get_dummies and in particular its ease of use.

Table of Contents

Installation

The onehot git repo is available as PyPi package

pip install onehot

Usage

Check the examples folder for notebooks.

Commands

  • Check syntax: flake8 --ignore=F401
  • 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 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.

About

One-Hot encoder with sklearn-ish API interface that process mixed string and numeric labels directly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages