<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amritesh</title>
    <description>The latest articles on DEV Community by Amritesh (@amriteshamr).</description>
    <link>https://dev.to/amriteshamr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4168865%2F8f37743d-7095-45a5-870d-3511247afb1d.png</url>
      <title>DEV Community: Amritesh</title>
      <link>https://dev.to/amriteshamr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amriteshamr"/>
    <language>en</language>
    <item>
      <title>Building a Network Intrusion Detection System with Machine Learning: A Deep Dive into the CICIDS2017 Dataset</title>
      <dc:creator>Amritesh</dc:creator>
      <pubDate>Wed, 07 Oct 2026 12:44:03 +0000</pubDate>
      <link>https://dev.to/amriteshamr/building-a-network-intrusion-detection-system-with-machine-learning-a-deep-dive-into-the-3492</link>
      <guid>https://dev.to/amriteshamr/building-a-network-intrusion-detection-system-with-machine-learning-a-deep-dive-into-the-3492</guid>
      <description>&lt;p&gt;In today's digital era, network security is paramount. Traditional detection systems struggle with advance threats, making machine learning a gamechanger for proactive threat identification and anomaly detection.&lt;/p&gt;

&lt;p&gt;For this project, I utilized the comprehensive CICIDS2017 dataset, which provides a wide range of benign and malicious network traffic scenarios, making it ideal for training and testing intrusion detection models.&lt;/p&gt;

&lt;p&gt;The data preprocessing phase involved handling missing values and infinite values using zero-imputation. Additionally, features were normalized using StandardScaler to ensure consistent distribution across the dataset.&lt;/p&gt;

&lt;p&gt;I constructed a deep learning model with input layers, hidden layers using ReLU activation, and a modified output layer configured for 15 classes using softmax. The model was compiled using Adam optimizer with a learning rate of 0.0001 and trained 5 epochs with a batch size of 32.&lt;/p&gt;

&lt;p&gt;Evaluation on the test set yielded a test accuracy of 99.43% and a low test loss of 0.0380 demonstrating exceptional generalization on unseen data.&lt;/p&gt;

&lt;p&gt;This project demonstrates the effectiveness of deep learning for network intrusion detection. Future work will focus on addressing class imbalance to further improve minority class recall.&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
