Skip to main content

“Trane_Logo”

Tests PyPI Version PyPI Downloads


Automatically formulating machine learning tasks for temporal datasets

Trane is a software package for automatically generating prediction problems and generating labels for supervised learning. Trane is a system designed to advance the automation of the machine learning problem solving pipeline.

Trane About Video

Install

To install Trane, run the following command:

python -m pip install trane

Example

Below is an example of using Trane:

import trane

data = trane.datasets.load_covid()
table_meta = trane.datasets.load_covid_metadata()

entity_col = "Country/Region"
window_size = "2d"
minimum_data = "2020-01-22"
maximum_data = "2020-03-29"
cutoff_strategy = trane.CutoffStrategy(
    entity_col=entity_col,
    window_size=window_size,
    minimum_data=minimum_data,
    maximum_data=maximum_data,
)
time_col = "Date"
problem_generator = trane.PredictionProblemGenerator(
    df=data,
    entity_col=entity_col,
    time_col=time_col,
    cutoff_strategy=cutoff_strategy,
    table_meta=table_meta,
)
problems = problem_generator.generate(data, generate_thresholds=True)

Citing Trane

If you use Trane, please consider citing the following paper:

Ben Schreck, Kalyan Veeramachaneni. What Would a Data Scientist Ask? Automatically Formulating and Solving Predictive Problems. IEEE DSAA 2016, 440-451

BibTeX entry:

@inproceedings{schreck2016would,
  title={What Would a Data Scientist Ask? Automatically Formulating and Solving Predictive Problems},
  author={Schreck, Benjamin and Veeramachaneni, Kalyan},
  booktitle={Data Science and Advanced Analytics (DSAA), 2016 IEEE International Conference on},
  pages={440--451},
  year={2016},
  organization={IEEE}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trane-0.5.0.tar.gz (758.7 kB view details)

Uploaded Source

Built Distribution

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

trane-0.5.0-py3-none-any.whl (782.1 kB view details)

Uploaded Python 3

File details

Details for the file trane-0.5.0.tar.gz.

File metadata

  • Download URL: trane-0.5.0.tar.gz
  • Upload date:
  • Size: 758.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for trane-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0f6cc5933d4617e602a663287c6d188a9a8d8ccaeb740b872c9094376581c8d1
MD5 f1fd1681fe7563ca02494911ee468767
BLAKE2b-256 b6c870afae64953361250d8c47e0a79975bdbfa97b8dc6b2f83ea9cad49fc501

See more details on using hashes here.

File details

Details for the file trane-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: trane-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 782.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for trane-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80a8c55b11d309adeb4788319ae428d940f98b0011318336520003475dc711f9
MD5 e6f574a60973a2b704c32643cb55f182
BLAKE2b-256 c4acdf4fe3e2bf3571af7b00fd4127e30c01116d596e9112a31a66eef0b7bd02

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

3 files

0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page