Downloads · 30 days
0
vn6142027/mpddf-eeg-fatigue-phase2-v1
mpddf-eeg-fatigue-phase2-v1 is a machine learning model from vn6142027. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as cc-by-4.0.
- Author: Kao Zi Cing - Model repository: https://huggingface.co/vn6142027/mpddf-eeg-fatigue-phase2-v1
Downloads · 30 days
0
Access
Public
Updated Aug 17, 2026
Repo size
1 MB
Likes
0
Public
Click a slice to open those files.
.csv1.6 MB · 52%
From the Hugging Face model README
This repository contains a frozen PyTorch baseline for binary driving-fatigue classification from 32-channel EEG in the MPD-DF dataset. It is intended for research, reproducibility, and method comparison—not medical diagnosis or a standalone vehicle-safety controller.
The Hugging Face README.md is the primary model card. Detailed reproduction
instructions are in REPRODUCIBILITY.md.
32 x 500).0 = wake; 1 = MPD-DF Fatigue1–Fatigue4.8 and 9.0.6780605316162109.20260817.| Metric | Validation | Held-out test |
|---|---|---|
| Average precision | 0.565 | 0.451 |
| AUROC | 0.750 | 0.747 |
| Balanced accuracy | 0.677 | 0.672 |
| Macro-F1 | 0.687 | 0.628 |
| Fatigue precision | 0.557 | 0.377 |
| Fatigue recall | 0.467 | 0.638 |
| Specificity | 0.886 | 0.706 |
| Subject-macro balanced accuracy | 0.657 | 0.647 |
| Subject-macro F1 | 0.644 | 0.546 |
Test evaluation was executed once after freezing the checkpoint and validation threshold. The report audit confirms that metrics recomputed from saved test predictions exactly match the recorded test results.
Filtering and resampling are performed before windowing to avoid artificial filter boundaries between one-second epochs.
Inference expects an HDF5 file generated by the included Phase-2 preparation
script. Its eeg dataset must have shape (windows, 32, 500).
python infer.py `
--input-h5 path\to\MPDDF_binary_EEG_4s_XX.h5 `
--output-csv predictions.csv `
--device cuda
The output includes the fatigue probability, frozen-threshold prediction, and source start second when available.
The repository includes:
Run python verify_release.py before reproduction. See
REPRODUCIBILITY.md for the remaining commands and
official MPD-DF download locations.
The dataset is not bundled. Download MPD-DF from the official Figshare records:
The MPD-DF datasets are distributed under CC BY 4.0. See
DATA_LICENSE_NOTICE.md.
LICENSE_MODEL_AND_DOCS.md).LICENSE_CODE).Before public upload, replace the author and repository placeholders in
CITATION.cff. Cite both this model release and the MPD-DF dataset paper.