Skip to main content

CardioMAS — Cardio Multi-Agent System for reproducible ECG dataset splits

Project description

CardioMAS — Cardio Multi-Agent System

CI PyPI License HuggingFace

A locally-runnable multi-agent system that analyzes ECG datasets, generates reproducible train/validation/test splits, and publishes split manifests (record IDs only) to vlbthambawita/ECGBench on HuggingFace.

Quick Start

pip install cardiomas

# Analyze a dataset and publish splits
cardiomas analyze https://physionet.org/content/ptb-xl/1.0.3/

# Check existing splits
cardiomas status ptb-xl

# List all analyzed datasets
cardiomas list --remote

Requirements

  • Python ≥ 3.10
  • Ollama running locally with a model pulled (default: llama3.1:8b)
ollama pull llama3.1:8b
ollama serve

Python API

from cardiomas import CardioMAS

mas = CardioMAS(ollama_model="llama3.1:8b", seed=42)
result = mas.analyze("https://physionet.org/content/ptb-xl/1.0.3/")

splits = mas.get_splits("ptb-xl")
train_ids = splits["train"]

Links

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

cardiomas-0.3.0.dev1.tar.gz (64.0 kB view details)

Uploaded Source

Built Distribution

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

cardiomas-0.3.0.dev1-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file cardiomas-0.3.0.dev1.tar.gz.

File metadata

  • Download URL: cardiomas-0.3.0.dev1.tar.gz
  • Upload date:
  • Size: 64.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cardiomas-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 93b441791ab47f6286d4232892430f6e0ae36daea1a5c6444d2728d49d0d64f2
MD5 03e9b61ade72afc535b80a7e2b32890f
BLAKE2b-256 4622535d90729e29b2812ddb428bd63f4cbaf93f1c6175bf6b77cf7c11f09875

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.3.0.dev1.tar.gz:

Publisher: publish.yml on vlbthambawita/CardioMAS

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

File details

Details for the file cardiomas-0.3.0.dev1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cardiomas-0.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 8774735049d5c086977045e56942ac880675420d15944ac0e396499927043503
MD5 9f862492455e3660fb499f075b32ba1a
BLAKE2b-256 84bbae50a1064cca03fa1e58749784d075e45c14a8e035f971ecf64f25c7ec16

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.3.0.dev1-py3-none-any.whl:

Publisher: publish.yml on vlbthambawita/CardioMAS

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