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.0.0.tar.gz (62.2 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.0.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file cardiomas-0.0.0.tar.gz.

File metadata

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

File hashes

Hashes for cardiomas-0.0.0.tar.gz
Algorithm Hash digest
SHA256 ae6a57307710af7a4c210a50dcd14123e60e034899be7d3e33c9b005addcac5c
MD5 cf22dd6af3137da95ad1c4761989a7c4
BLAKE2b-256 4a40b9abe142dfacec48068df822eeadfae94298105b604b4212ac46046a9b54

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.0.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: cardiomas-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 50.8 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 011da2ac615e9849808f32b636540d55c985f38a098fb65069e2d9eab574d17b
MD5 b34f085dd0b4daacc746eb92e5759a9a
BLAKE2b-256 f7cf7571c32f275adb974231a342220e2539e698aea0fcd3bf78e87665f35805

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.0.0-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