liveBook · Manning

Support vector machine

As explained in Data-Driven Cybersecurity

A support vector machine is a supervised-learning model that separates classes or predicts values by constructing a boundary based on support vectors.

A support vector machine (SVM) is a supervised-learning model that separates classes by constructing a boundary from patterns in labeled data. In cybersecurity, it can distinguish safe activity from threats such as phishing, malware, or malicious network traffic. section 12.3

The model treats classification as a separation problem: it draws a boundary between normal and dangerous observations using features such as email attributes, IP addresses, traffic volume, login times, or failed-login attempts. That boundary supports decisions about which activity deserves investigation. section 12.3 section 12.3.1

Classifying suspicious login activity

A small exercise labels login activity as malicious when the login occurs after 20:00 or includes more than five failed attempts. After the data is cleaned and split into training and testing sets, an SVM classifies unseen activity. The reported SVM accuracy is 0.87, with 0.79 recall for normal activity and 0.94 recall for malicious activity. Security teams can use these results to prioritize suspicious events, while comparing performance with another model before operational adoption. section 12.3.1

How Data-Driven Cybersecurity covers it

How deep it goes
Explains boundary-based classification and demonstrates training and evaluation, but does not detail optimization or support-vector internals.
Examples
Uses scam emails, malicious network traffic, login activity, and a Python classification report as teaching examples.
What it assumes
Assumes labeled features and basic data preparation while teaching the boundary-based classification idea through cybersecurity examples.
What you can do after
Apply SVM through Python to classify labeled network or login activity and compare its reported performance with another model.
How it connects
Connects SVMs with supervised learning, random forests, neural networks, anomaly detection, and predictive threat intelligence.

Also explained in

Compare how 5 books explain support vector machine →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data-Driven Cybersecurity. The section links point to the parts of the book it draws on.