Skip to main content

LLM-ABBA: mining time series via symbolic approximation and large language models

Project description

PyPI Version PyPI Downloads Cython Support Documentation Status License

llmabba is a software framework for time series analysis using Large Language Models (LLMs) based on symbolic representation, as introduced in the paper LLM-ABBA: Symbolic Time Series Approximation using Large Language Models.

Time series analysis involves identifying patterns, trends, and structures within data sequences. Traditional methods like discrete wavelet transforms or symbolic aggregate approximation (SAX) convert continuous time series into symbolic representations for better analysis and compression. However, these methods often struggle with complex patterns.

llmabba enhances these techniques by leveraging LLMs, which excel in pattern recognition and sequence prediction. By applying LLMs to symbolic time series, llmabba discovers rich, meaningful representations, offering:

  • Higher accuracy and compression: Better symbolic representations via LLMs, improving data compression and pattern accuracy.

  • Adaptability: Robust performance across domains like finance, healthcare, and environmental science.

  • Scalability: Efficient handling of large-scale time series datasets.

  • Automatic feature discovery: Uncovers novel patterns that traditional methods may miss.

Key Features

  • Symbolic Time Series Approximation: Converts time series into symbolic representations.

  • LLM-Powered Encoding: Enhances compression and pattern discovery.

  • Efficient and Scalable: Suitable for large-scale datasets.

  • Flexible Integration: Compatible with machine learning and statistical workflows.

Installation

To set up a virtual environment, use one of these methods:

Using venv:

mkdir ~/.myenv
python -m venv ~/.myenv
source ~/.myenv/bin/activate

Using conda:

conda create -n myenv
conda activate myenv

Install llmabba via pip:

pip install llmabba

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

llmabba-0.0.4.tar.gz (188.1 kB view details)

Uploaded Source

File details

Details for the file llmabba-0.0.4.tar.gz.

File metadata

  • Download URL: llmabba-0.0.4.tar.gz
  • Upload date:
  • Size: 188.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llmabba-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2d492f1f85a6377d6c25ab2d73490752961532d645fde292219b7151dc0e96d6
MD5 d127d965ae472b10a32ce546e1a5745e
BLAKE2b-256 3a2bfddf24f603b8e9cd7c41e63d9a0bca5409853c3cdaa9a9336043f34b6879

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