Skip to main content

Automatic Time Series Classification

Project description

TSCGlue

Automatic Time Series Classification library built on top of aeon and scikit-learn.

Installation

pip install tscglue

Quick Start

from tscglue import utils
from tscglue.models import TSCGlue
from sklearn.metrics import accuracy_score

# Load a time series classification dataset
X_train, y_train, X_test, y_test = utils.load_dataset("ArrowHead")

# Create and train the model
model = TSCGlue(
    random_state=270,
    k_folds=10,
    n_jobs=-1
)
model.fit(X_train, y_train)

# Make predictions
y_pred = model.predict(X_test)
accuracy = accuracy_score(y_test, y_pred)
print(f"Accuracy: {accuracy:.4f}")

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

tscglue-0.1.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

tscglue-0.1.1-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tscglue-0.1.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tscglue-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3b402633b902bc36618c441c6c552d76416c917289fd2d7403839c7670c0627c
MD5 bfa014f1e974f58e1a64eafa10178713
BLAKE2b-256 428f616346ab3ee75cbd0637c776d1f57ff0f62f571e5e4e687affdc282aeade

See more details on using hashes here.

Provenance

The following attestation bundles were made for tscglue-0.1.1.tar.gz:

Publisher: publish.yml on gasperpetelin/TSCGlue

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

File details

Details for the file tscglue-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tscglue-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3cafb99420bbb2d72fc6087f96324582cf3233cf8b4de25e8ad3d37cee93bd
MD5 9138dfb5887f5741a110afa2211f5577
BLAKE2b-256 c93b8242e7a699f3856b2e99dd67a7cb18ceceb91cf565f82a80a540ae73025f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tscglue-0.1.1-py3-none-any.whl:

Publisher: publish.yml on gasperpetelin/TSCGlue

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