An explainable frequency-domain ML pipeline for lung histopathology classification

Background Accurate subtype classification of lung histopathology is clinically valuable, but many high-performing deep models are opaque and compute-intensive. We target a transparent, CPU-feasible pipeline that maintains competitive accuracy on a standard benchmark. Method Red, Green, Blue (RGB) patches are resized to 384 × 384, converted to Hue, Saturation, Value (HSV), and a 2D Fast Fourier Transform (FFT) is applied per channel. From the conjugate-symmetric magnitude, we extract 41 descriptors per channel (statistics, band-powers/ratios, entropy/energy, percentiles, edge statistics, centroid, Gini, radial means), yielding 123 Color Frequency Spatial Descriptor (CFSD) features. Mutual Information ranking with a data-driven cutoff reduces this to 54 features. Eight classifiers (XGBoost, LightGBM, CatBoost, Random Forest (RF), Extra Trees (ET), Gradient Boosting (GB), Bagging, Decision Tree (DT)) are trained on an 80/20 split of the lung subset of LC25000 using 5 non-overlapping folds. Metrics include Accuracy, Precision, Recall, F1-score, Jaccard, MCC, Cohen’s κ, Specificity, and area under the curve (AUC). Results With 123 features, eXtreme Gradient Boosting (XGBoost) achieves 97.85 ± 0.25% accuracy; using the 54-feature subset yields 97.26 ± 0.25% with <1% F1-score decrease. Mean feature-extraction time drops from ~72 ± 4 ms to ~51 ± 3 ms per image (≈28% faster), with end-to-end per-image latency reductions of ~21 ms across models. Confusion exists between adenocarcinoma and squamous cell carcinoma; normal tissue is most separable. Findings are showing robust results against state-of-the-art methods.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-03-12
DOI
https://doi.org/10.7717/peerj-cs.3700
Primary Topic
AI in cancer detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An explainable frequency-domain ML pipeline for lung histopathology classification

Aqilah Baseri Huddin, Norhana Arsad, Ahmed Sameer Alani, Mustafa Adil Albuhadeed
PeerJ Computer Science
AI in cancer detection
article

An explainable frequency-domain ML pipeline for lung histopathology classification

Aqilah Baseri Huddin, Norhana Arsad, Ahmed Sameer Alani, Mustafa Adil Albuhadeed
article en

Abstract

Background Accurate subtype classification of lung histopathology is clinically valuable, but many high-performing deep models are opaque and compute-intensive. We target a transparent, CPU-feasible pipeline that maintains competitive accuracy on a standard benchmark. Method Red, Green, Blue (RGB) patches are resized to 384 × 384, converted to Hue, Saturation, Value (HSV), and a 2D Fast Fourier Transform (FFT) is applied per channel. From the conjugate-symmetric magnitude, we extract 41 descriptors per channel (statistics, band-powers/ratios, entropy/energy, percentiles, edge statistics, centroid, Gini, radial means), yielding 123 Color Frequency Spatial Descriptor (CFSD) features. Mutual Information ranking with a data-driven cutoff reduces this to 54 features. Eight classifiers (XGBoost, LightGBM, CatBoost, Random Forest (RF), Extra Trees (ET), Gradient Boosting (GB), Bagging, Decision Tree (DT)) are trained on an 80/20 split of the lung subset of LC25000 using 5 non-overlapping folds. Metrics include Accuracy, Precision, Recall, F1-score, Jaccard, MCC, Cohen’s κ, Specificity, and area under the curve (AUC). Results With 123 features, eXtreme Gradient Boosting (XGBoost) achieves 97.85 ± 0.25% accuracy; using the 54-feature subset yields 97.26 ± 0.25% with <1% F1-score decrease. Mean feature-extraction time drops from ~72 ± 4 ms to ~51 ± 3 ms per image (≈28% faster), with end-to-end per-image latency reductions of ~21 ms across models. Confusion exists between adenocarcinoma and squamous cell carcinoma; normal tissue is most separable. Findings are showing robust results against state-of-the-art methods.

PeerJ Computer ScienceVol. 12
Openalex Percentile: Top 29%
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.