Practical Implementation of Artificial Intelligence in Cybersecurity, One-Class SVM for Anomaly Detection in Network Traffic

dc.contributor.authorWołoszyn, Jacek
dc.contributor.authorWołoszyn, Michał
dc.date.accessioned2026-03-27T21:40:00Z
dc.date.available2026-03-27T21:40:00Z
dc.date.issued2025-12
dc.description.abstractThe presented material provides a detailed discussion on the implementation of One-Class SVM in Python, including code examples and a sample CSV file containing network flow parameters such as duration, number of packets, and packet sizes. This is a continuation of the article Theoretical Considerations on Artificial Intelligence and Cybersecurity: One-Class SVM for Anomaly Detection in Network Traffic. The authors emphasize the necessity of removing the label column during training, as One-Class SVM is designed to identify anomalous observations based solely on a dataset of normal behavior. The text outlines the key stages of working with the model, including data loading, splitting into training and test sets, scaling, model initialization, and evaluation of results using metrics such as Precision, Recall, and F1-score. It is noted that model evaluation in laboratory conditions may be misleading if only a small number of samples are available. The article also discusses hyperparameter tuning (nu, gamma) and explores potential extensions, including combining One-Class SVM with other algorithms, integration with SIEM systems, and the implementation of real-time streaming data processing.pol
dc.description.abstractW artykule szczegółowo omówiono implementację One-Class SVM w języku Python wraz z przykładami kodu i przykładowym fragmentem pliku CSV, w którym zapisano parametry dotyczące przepływów sieciowych (takie jak czas trwania, liczba pakietów, rozmiary pakietów). Jest to kontynuuacja artykułu Theoretical Considerations on Artificial Intelligence and Cybersecurity, One-Class SVM for Anomaly Detection in Network Traffic. Autorzy zwracają uwagę na konieczność usunięcia kolumny etykiet (label) podczas treningu, ponieważ One-Class SVM przystosowany jest do identyfikowania nietypowych obserwacji, bazując wyłącznie na zbiorze zachowań normalnych. W tekście opisano podstawowe etapy pracy z modelem: wczytanie danych, podział na zbiór treningowy i testowy, skalowanie, inicjalizację modelu oraz ewaluację wyników z wykorzystaniem miar typu Precision, Recall czy F1-score. Zwrócono uwagę, że ocena jakości modelu w warunkach laboratoryjnych może być myląca, jeśli dysponuje się jedynie niewielką liczbą próbek. Omówiono także zagadnienie dostrajania hiperparametrów (nu, gamma) i opisano możliwe rozszerzenia obejmujące łączenie One-Class SVM z innymi algorytmami, integrację z systemami SIEM czy wprowadzenie przetwarzania strumieniowego w czasie rzeczywistym.pol
dc.identifier.citationDydaktyka Informatyki T. 20 (2025), s. 195-206
dc.identifier.doi10.15584/di.2025.20.17
dc.identifier.eissn2543-9847
dc.identifier.isbn978-83-8277-320-0
dc.identifier.issn2083-3156
dc.identifier.urihttps://repozytorium.ur.edu.pl/handle/item/12329
dc.language.isoeng
dc.publisherWydawnictwo Uniwersytetu Rzeszowskiego
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internationalen
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectPython
dc.subjectartificial intelligence
dc.subjectcybersecurity
dc.subjectOne-Class SVM
dc.subjectsztuczna inteligencja
dc.subjectcyberbezpieczeństwo
dc.titlePractical Implementation of Artificial Intelligence in Cybersecurity, One-Class SVM for Anomaly Detection in Network Traffic
dc.title.alternativePraktyczna implementacja sztucznej inteligencji w cyberbezpieczeństwie, One-Class SVM do wykrywania anomalii w ruchu sieciowym
dc.typearticle

Pliki

Oryginalny pakiet

Aktualnie wyświetlane 1 - 1 z 1
Ładowanie...
Obrazek miniatury
Nazwa:
17.Woloszyn_Woloszyn.pdf
Rozmiar:
376.74 KB
Format:
Adobe Portable Document Format

Pakiet licencji

Aktualnie wyświetlane 1 - 1 z 1
Ładowanie...
Obrazek miniatury
Nazwa:
license.txt
Rozmiar:
1.28 KB
Format:
Item-specific license agreed upon to submission
Opis: