Blagoja / ecg-ptbxl-classification

huggingface.co
Total runs: 603
24-hour runs: 60
7-day runs: 265
30-day runs: 463
Model's Last Updated: August 04 2026

Introduction of ecg-ptbxl-classification

Model Details of ecg-ptbxl-classification

ECG Cardiovascular Disease Classification

Multi-label classification of 5 cardiovascular superclasses (NORM, MI, STTC, CD, HYP) from 12-lead ECG recordings, trained on PTB-XL.

Deployed model : CNN (noaug training variant)

Files
  • ecg_model.keras | trained model
  • normalisation_params.npz | per-channel mean and std (z-score, from training fold)
  • thresholds.json | per-class decision thresholds optimised on the validation fold
Usage
import keras, numpy as np, json
from huggingface_hub import hf_hub_download

model = keras.saving.load_model(
    hf_hub_download("Steenslid/ecg-ptbxl-classification", "ecg_model.keras"))
params = np.load(hf_hub_download("Steenslid/ecg-ptbxl-classification", "normalisation_params.npz"))
with open(hf_hub_download("Steenslid/ecg-ptbxl-classification", "thresholds.json")) as f:
    thresholds = json.load(f)

# Input x: (1000, 12) float32 ECG in mV, 100 Hz, standard 12-lead order
x_norm = (x - params["mean"]) / params["std"]
probs = model.predict(x_norm[np.newaxis])[0]
preds = {sc: probs[i] >= thresholds[sc] for i, sc in enumerate(
    ["NORM","MI","STTC","CD","HYP"])}

Authors: Edvard Vindenes Steenslid & Morten Kvamme

Runs of Blagoja ecg-ptbxl-classification on huggingface.co

603
Total runs
60
24-hour runs
132
3-day runs
265
7-day runs
463
30-day runs

More Information About ecg-ptbxl-classification huggingface.co Model

More ecg-ptbxl-classification license Visit here:

https://choosealicense.com/licenses/mit

ecg-ptbxl-classification huggingface.co

ecg-ptbxl-classification huggingface.co is an AI model on huggingface.co that provides ecg-ptbxl-classification's model effect (), which can be used instantly with this Blagoja ecg-ptbxl-classification model. huggingface.co supports a free trial of the ecg-ptbxl-classification model, and also provides paid use of the ecg-ptbxl-classification. Support call ecg-ptbxl-classification model through api, including Node.js, Python, http.

ecg-ptbxl-classification huggingface.co Url

https://huggingface.co/Blagoja/ecg-ptbxl-classification

Blagoja ecg-ptbxl-classification online free

ecg-ptbxl-classification huggingface.co is an online trial and call api platform, which integrates ecg-ptbxl-classification's modeling effects, including api services, and provides a free online trial of ecg-ptbxl-classification, you can try ecg-ptbxl-classification online for free by clicking the link below.

Blagoja ecg-ptbxl-classification online free url in huggingface.co:

https://huggingface.co/Blagoja/ecg-ptbxl-classification

ecg-ptbxl-classification install

ecg-ptbxl-classification is an open source model from GitHub that offers a free installation service, and any user can find ecg-ptbxl-classification on GitHub to install. At the same time, huggingface.co provides the effect of ecg-ptbxl-classification install, users can directly use ecg-ptbxl-classification installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ecg-ptbxl-classification install url in huggingface.co:

https://huggingface.co/Blagoja/ecg-ptbxl-classification

Url of ecg-ptbxl-classification

ecg-ptbxl-classification huggingface.co Url

Provider of ecg-ptbxl-classification huggingface.co

Blagoja
ORGANIZATIONS