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.1.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.1.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cardiomas-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 105bd7ed0c299d07be925f6df47a542e6ee5a7a4fa50b61d9f1c62622c8b433c
MD5 338a6968f1c08170664b5d1e6e440263
BLAKE2b-256 a158291c74ef98dff5fc688918253ca9e582133b4429d9231c5aa29987a4cdcf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cardiomas-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6081ebfbce21829a8c6e273d2512f56381534c83e1b260ce8971f72198e170
MD5 aa808e97dab293faa84c162bf518fa5d
BLAKE2b-256 0dfb9e2aaaa694a504292a998b474584a7c3ee2f92c66a9e63b023235f9dda35

See more details on using hashes here.

Provenance

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