# Hybrid EfficientNet B4 and SVM framework for rapid and accurate bone cancer diagnosis from X-rays

**Authors:** Nashaat M. Hussain Hassan, Ahmed S. Bayoumy, Mohamed Hassan M. Mahmoud

PMC · DOI: 10.1038/s41598-026-38801-3 · 2026-03-03

## TL;DR

This paper introduces a new model for diagnosing bone cancer from X-rays that combines deep learning and machine learning to achieve high accuracy and fast results.

## Contribution

The novel contribution is a hybrid model combining EfficientNetB4 and SVM for efficient and accurate bone cancer diagnosis from X-ray images.

## Key findings

- OsteoCancerNet achieves 98% precision, 97.47% recall, and 98% accuracy in bone cancer diagnosis.
- The model processes images in 41 milliseconds, making it suitable for real-time clinical use.
- It outperforms traditional and transfer learning methods in both accuracy and efficiency.

## Abstract

The early and correct diagnosis of bone cancer is important for treating both primary and metastatic conditions effectively. Traditional imaging techniques, like CT, MRI, and X-ray scans, depend exclusively on manual review, which is time-consuming and prone to human errors. Recently, ML and DL have enabled automated diagnostic systems that are more accurate, reliable, and efficient. Still, many of the existing approaches using DL suffer from high computational complexity, overfitting, and limited availability of robust datasets. This work proposes a novel diagnostic model for bone cancer, called OsteoCancerNet, which combines EfficientNetB4 for feature extraction with a support vector machine using the RBF kernel for classification. EfficientNetB4 captures efficiently both quantitative and qualitative features from X-ray images, and the SVM ensures robust binary classification. Extensive experiments using a large dataset with 29,952 X-ray images demonstrate that OsteoCancerNet provides 98% precision, 97.47% recall, 98% accuracy, and a 98% F1-score, thus outperforming traditional machine learning, deep learning, and transfer learning methods. Of note, the model maintains fast inference times of 41 milliseconds per image, making it suitable for real-time clinical applications. By combining deep learning feature extraction with traditional machine learning classification, OsteoCancerNet provides an efficient, accurate, and practical approach for the early detection of bone cancer. This approach has the potential to aid radiologists in timely diagnosis, decrease workload, and improve treatment outcomes, thus underlining the advantages of integrating DL and ML techniques within medical imaging. Keywords: OsteoCancerNet; computer-assisted diagnosis; bone cancer diagnosis; EfficientNet B4 model; SVM model; X-ray image analysis.

## Linked entities

- **Diseases:** bone cancer (MONDO:0002129)

## Full-text entities

- **Diseases:** prostate cancer (MESH:D011471), osteosarcoma (MESH:D012516), Bone Cancer (MESH:D001859), respiratory illnesses (MESH:D012140), polycystic ovary syndrome (MESH:D011085), blood disorders (MESH:D006402), cancer (MESH:D009369), endocrine diseases (MESH:D004700), COVID-19 (MESH:D000086382), ML (MESH:C537366), Alzheimer's disease (MESH:D000544), DL (MESH:C537113), osteoporosis (MESH:D010024), Bone Lesions (MESH:D001847), breast cancer (MESH:D001943), fatigue (MESH:D005221), osteolytic lesions (MESH:D030981), knee joint tumor (MESH:D000092443), XAI (MESH:C538243)
- **Chemicals:** CLAHE (-), NB (MESH:D009556)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12960689/full.md

---
Source: https://tomesphere.com/paper/PMC12960689