Skip to main content

Time-based k-fold validation splits for heterogeneous data.

Project description

Time Split

Time-based k-fold validation splits for heterogeneous data.


PyPI - Version PyPI - Python Version Tests Codecov Read the Docs PyPI - License Docker Image Size (tag)

Plotted folds on a two-by-two grid.

Folds plotted on a two-by-two grid. See the examples page for more.

What is it?

A library for creating time-based cross-validation splits of heterogeneous data, such as raw transaction data with strong non-stationary characteristics.

Highlighted Features

Experimenting with parameters

The Time Split application (available here) is designed to help evaluate the effects of different parameters. To start it locally, run

docker run -p 8501:8501 rsundqvist/time-split

or

pip install time-split[app]
python -m time_split app start

in the terminal. You may use create_explorer_link() to build application URLs with preselected splitting parameters.

Installation

The package is published through the Python Package Index (PyPI). Source code is available on GitHub: https://github.com/rsundqvist/time-split

pip install -U time-split

This is the preferred method to install time-split, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

License

MIT

Documentation

Hosted on Read the Docs: https://time-split.readthedocs.io

Contributing

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome. To get started, see the Contributing Guide and Code of Conduct.

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

time_split-0.7.0.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

time_split-0.7.0-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file time_split-0.7.0.tar.gz.

File metadata

  • Download URL: time_split-0.7.0.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for time_split-0.7.0.tar.gz
Algorithm Hash digest
SHA256 82c43d421386ce8d36b6d55ba1cf229ad23fc5b93c2e14f748ef37dca2f7295a
MD5 5607be2adc34a0d19ca34f21cb1c71ab
BLAKE2b-256 6ff2131b90fd8f4171d04d78f52c560ceb5ca86f16da1048855016311f366c2c

See more details on using hashes here.

File details

Details for the file time_split-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: time_split-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for time_split-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85edb175ab23e7b59641fcaf05f530f6801ae8e5f0f11eb6f11b03963cb9a8db
MD5 0a3f87519fcf806453dd015add30ca75
BLAKE2b-256 f8cb5126caaa7c4890137049660593622d697bef0437b947c6a78d2f61ed9f5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page