Skip to main content

Three-way data split into training set, validation set, and test set.

Project description

|PyPI version| |threesplit| |Total alerts| |Language grade: Python| |deepcode|

threesplit

Three-way data split into training set, validation set, and test set.

Installation

The threesplit git repo <http://github.com/kmedian/threesplit>__ is available as PyPi package <https://pypi.org/project/threesplit>__

::

pip install threesplit

Usage

Check the examples <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

Publish

.. code:: sh

pandoc README.md --from markdown --to rst -s -o README.rst python setup.py sdist twine upload -r pypi dist/*

Support

Please open an issue <https://github.com/kmedian/threesplit/issues/new>__ for support.

Contributing

Please contribute using Github Flow <https://guides.github.com/introduction/flow/>. Create a branch, add commits, and open a pull request <https://github.com/kmedian/threesplit/compare/>.

.. |PyPI version| image:: https://badge.fury.io/py/threesplit.svg :target: https://badge.fury.io/py/threesplit .. |threesplit| image:: https://snyk.io/advisor/python/threesplit/badge.svg :target: https://snyk.io/advisor/python/threesplit .. |Total alerts| image:: https://img.shields.io/lgtm/alerts/g/kmedian/threesplit.svg?logo=lgtm&logoWidth=18 :target: https://lgtm.com/projects/g/kmedian/threesplit/alerts/ .. |Language grade: Python| image:: https://img.shields.io/lgtm/grade/python/g/kmedian/threesplit.svg?logo=lgtm&logoWidth=18 :target: https://lgtm.com/projects/g/kmedian/threesplit/context:python .. |deepcode| image:: https://www.deepcode.ai/api/gh/badge?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF0Zm9ybTEiOiJnaCIsIm93bmVyMSI6ImttZWRpYW4iLCJyZXBvMSI6InRocmVlc3BsaXQiLCJpbmNsdWRlTGludCI6ZmFsc2UsImF1dGhvcklkIjoyOTQ1MiwiaWF0IjoxNjE5NTQwNjI4fQ.YC9h-9S3cQqgPOlYq3WYA8SegkLEL4sFHN-DQAVQBY0 :target: https://www.deepcode.ai/app/gh/kmedian/threesplit/_/dashboard?utm_content=gh%2Fkmedian%2Fthreesplit

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

threesplit-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file threesplit-0.1.1.tar.gz.

File metadata

  • Download URL: threesplit-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for threesplit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40097dc33bd3e4732eb4fcf392663771a3d043e98f1099ef7d393d7e9e672578
MD5 374cb873c079aebe32e38c0056153c79
BLAKE2b-256 3e0f57587df336a94d45597fc5e347793a93e43d9411e75f8d6e8eeb1d0c802c

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