Patient split
Keep recordings from one patient in one fold to reduce leakage.
06 / Code
The project keeps its experimental seams visible: preprocessing, training, evaluation, and inference are separate surfaces.
COPD Detection Lab
Follow the uploaded Python project from respiratory audio to a documented prediction path. This is an explainer for the system—not a clinical tool and not a live inference runtime.
01class RespiratoryDataset(Dataset):02 def __init__(self, root_dir, transform=None):03 self.samples = build_sample_index(root_dir)04 self.transform = transform0506 def __getitem__(self, index):07 path, label = self.samples[index]08 audio, sr = load_audio(path)09 return audio, label
Why this matters Patient-aware indexing is the foundation for trustworthy evaluation.
Architecture notes
Keep recordings from one patient in one fold to reduce leakage.
Mel and MFCC features make breathing texture visible to the encoder.
BiLSTM reads how respiratory events evolve across the clip.
The model can weight the most informative moments before classification.
Documentation boundaryThis frontend presents the supplied code as an educational research artifact. It does not run the model, validate medical claims, or provide a diagnosis.
Source code, setup notes, and experiment history.
Open artifact ↗Explore feature extraction and model behavior.
A small interface for repeatable predictions.