OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Data & Analytics

Anomaly Detection In Networks Using Machine Learning

A thesis project containing Python and Jupyter Notebook files for analyzing network traffic with a staged anomaly-detection workflow. It processes CIC-IDS2017 data, filters attack records, ranks features and applies machine-learning algorithms to prepared datasets.

Independent OpenViST project profile, based on linked sources.

Anomaly Detection In Networks Using Machine Learning — OpenViST project profile in AI Data & Analytics.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want to study or reproduce a dataset-based network anomaly-detection workflow, and can work through its numbered Python or notebook files and intermediate outputs.

Who it is for

  • Students studying network security and machine-learning workflows
  • Researchers exploring attack filtering and feature analysis on CIC-IDS2017 traffic

Documented uses

  • Preprocess CIC-IDS2017 files into a shared analysis dataset
  • Create attack-specific datasets containing attack and benign records
  • Inspect attack and benign record statistics
  • Rank important features per attack or across the dataset
  • Run machine-learning experiments and review recorded results and charts
Before you choose

Requirements & limits

  • The workflow is organized as numbered stages, and most later programs require outputs from earlier ones.
  • Preprocessing requires CIC-IDS2017 files in a local CSVs folder and produces all_data.csv.
  • The README specifies Python 3.6 with scikit-learn, NumPy, pandas and Matplotlib.
  • Both .py and .ipynb versions are provided; notebooks can retain prior run state and screen output.
  • The README documents 12 attack-specific CSV outputs with a 30% attack and 70% benign record mix.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare the dataset for the staged analysis

Set up the documented preprocessing stage and produce the input file used by later workflow steps.

Before you start

  • Python 3.6
  • scikit-learn, NumPy, pandas and Matplotlib
  • CIC-IDS2017 dataset files placed in a CSVs folder beside the preprocessing program
  • Jupyter Notebook to run the notebook version

Steps

  1. Install Python 3.6 and the listed libraries.

  2. Place the CIC-IDS2017 files in the local CSVs folder beside the preprocessing program.

  3. Open the numbered preprocessing notebook or corresponding Python file and run it.

  4. Use the resulting all_data.csv as the documented input for subsequent stages.

Expected outcome

Preprocessing creates all_data.csv, the shared dataset input for later workflow stages.

Guide limitations

  • The README says later stages depend on earlier outputs; follow the numbered filenames.
  • The guide covers preparation and preprocessing only, not the full machine-learning workflow.
  • The repository describes an example preprocessing runtime on a specific Windows 10 computer; it is not a runtime guarantee.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
28 November 2026
Original website title
kahramankostas/Anomaly-Detection-in-Networks-Using-Machine-Learning · Official homepage title · retained in its source language