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.2.tar.gz (3.8 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.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tscglue-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6e6624dffbacb97a29595815c923a01d63ef4d621e61820cf583fa95c4b25a24
MD5 5bb2510af680479faa5eb9ac2064a9b9
BLAKE2b-256 22b8ff600041d9134ffed4822edecaa8119cde1c930cc2603f255d4c94e20106

See more details on using hashes here.

Provenance

The following attestation bundles were made for tscglue-0.1.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tscglue-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88124c309c2740852f87631f0076992aeb4adfa5c241fcace3d3c59bc6bc1f83
MD5 aed916cbbff56bd82bdda7c09466b086
BLAKE2b-256 588b5df8938c6e3e65cd7d4d59d16cb4f8f480d72340d70c99e7370ce723188b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tscglue-0.1.2-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