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.

Click here for documentation of the most important types, functions and classes used by the application.

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.

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-1.0.3.tar.gz (33.2 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-1.0.3-py3-none-any.whl (44.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: time_split-1.0.3.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for time_split-1.0.3.tar.gz
Algorithm Hash digest
SHA256 89c28e7c24e0f3cf91e95059f59d5a878fa3427eb850d5c3abdbfa4c130b72f1
MD5 afa6fbad9be2b03eef3f480bcc3c573c
BLAKE2b-256 b7049920b38116b382bc3fc8dccb979a7cf65767e13b1e649584a405118f8f40

See more details on using hashes here.

Provenance

The following attestation bundles were made for time_split-1.0.3.tar.gz:

Publisher: release.yml on rsundqvist/time-split

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: time_split-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 44.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for time_split-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 44c11f6fd86b27812f306ddb185b61e973a81b4c497f62f4d912e8e5c464568d
MD5 c4c869f739a3ff0651ebd23c3d58d5fd
BLAKE2b-256 bb5345b17c22a3463d6b5a878be1b055678cfc639fe5e75d881a2f6491e706a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for time_split-1.0.3-py3-none-any.whl:

Publisher: release.yml on rsundqvist/time-split

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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