International Journal of Research and Scientific Innovation (IJRSI)
Machine Learning Driven Spectrum Sensing for CRWSN Using Logistic Regression, K-Nearest Neighbor and Few–Shot Learning Model
Published February 18, 2026 • Vol. 13, Issue 1, pp. 2451–2463Open Access
DOI: 10.51244/IJRSI.2026.13010217
Abstract
Reliable spectrum sensing is a critical function in Cognitive Radio Wireless Sensor Networks (CRWSNs), where unlicensed Secondary Users (SUs) opportunistically access licensed bands without causing harmful interference to Primary Users (PUs). Classical sensing techniques, such as energy detection and cyclostationary analysis, suffer from poor robustness under low signal-to-noise ratio (SNR) and fading conditions and impose high computational overhead on resource-constrained sensor nodes. This paper presents a machine learning–driven spectrum sensing framework that comparatively analyzes Logistic Regression, k Nearest Neighbor, and a Few-Shot Learning (FSL)–based Prototypical Network. At the fusion center, sensing data are transformed into a ten-dimensional radio-frequency feature vector derived from multi-domain descriptors, including detected energy, estimated SNR, channel center frequency, RSSI variance, cyclostationary spectral correlation features, adjacent-channel power ratios, and average primary user presence probability. Logistic Regression and k-Nearest Neighbor serve as baseline models, highlighting the limitations of conventional supervised learning in non-linear and data-scarce environments. To address these limitations, the proposed FSL-based Prototypical Network learns a compact embedding space and class prototypes using episodic training, enabling robust classification with very few labeled samples. Simulations carried out over the 470–698 MHz UHF band under Rayleigh fading conditions demonstrate that the proposed FSL model significantly outperforms the baseline methods, achieving 94.0 % accuracy, a probability of detection of 93.8%, a probability of false alarm of 5.7 %, and an ROC–AUC of 98.0 %. These results indicate that the proposed approach is well suited for dynamic CRWSN deployments.
Keywords: Spectrum Sensing, Machine Learning, Few--Shot Learning Prototypical Networks, Logistic Regression, k-Nearest Neighbors.
| Journal | International Journal of Research and Scientific Innovation (IJRSI) |
|---|---|
| ISSN | 2321-2705 |
| Volume / Issue | Volume 13, Issue 1 |
| Pages | 2451–2463 |
| Publication date | February 18, 2026 |
| DOI | 10.51244/IJRSI.2026.13010217 |
| Publisher | RSIS International |
| License | Open Access |
How to cite this article
Mahadevan V, & Saraswady D (2026). Machine Learning Driven Spectrum Sensing for CRWSN Using Logistic Regression, K-Nearest Neighbor and Few–Shot Learning Model. International Journal of Research and Scientific Innovation (IJRSI), 13(1), 2451-2463. https://doi.org/10.51244/IJRSI.2026.13010217
BibTeX
@article{Mahadevan2026,
title = {Machine Learning Driven Spectrum Sensing for CRWSN Using Logistic Regression, K-Nearest Neighbor and Few–Shot Learning Model},
author = {Mahadevan V and Saraswady D},
journal = {International Journal of Research and Scientific Innovation (IJRSI)},
volume = {13},
number = {1},
pages = {2451--2463},
year = {2026},
doi = {10.51244/IJRSI.2026.13010217},
publisher = {RSIS International}
}