Skip to main content

A Python package for CNN-LSTM model pre-trained on CICIDS2017 and finetuned on UNSW-NB15 for network intrusion detection.

Project description

Intrusion Detection Package

This package provides a CNN-LSTM-based intrusion detection model that can be used to classify network traffic as benign or malicious.

Installation

You can install the package using pip:

pip install net_intrusion_detection

Usage

To use the model, follow these steps:

  1. Load your pre-trained model (.h5 file).
  2. Preprocess your network traffic data (CSV format).
  3. Make predictions on the data.

Example:

from network_intrusion_detection import make_prediction

predictions = make_prediction('path_to_model.h5', 'path_to_csv_file.csv')
print(predictions)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

network_intrusion_detection-0.1.4.tar.gz (869.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

network_intrusion_detection-0.1.4-py3-none-any.whl (869.6 kB view details)

Uploaded Python 3

File details

Details for the file network_intrusion_detection-0.1.4.tar.gz.

File metadata

File hashes

Hashes for network_intrusion_detection-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4ad0e7a6a9a2297f5aaecc7e04a65c05f19a69d447e7f3aa5581b2936c56b3e6
MD5 8d26c65c906370dc4e1882fec4db184c
BLAKE2b-256 4f1f6651fd0e708c807b15ee6f69b2eb3f0c0031b264481aecf48bfb55a9c064

See more details on using hashes here.

File details

Details for the file network_intrusion_detection-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for network_intrusion_detection-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e3d4dbbb07048096f4af48421f7327dcd84151695d9faaa4ee05b37fe36b0379
MD5 af9ff436edda98e81d87c683f42a23d4
BLAKE2b-256 918f150e28ec500ec37ca24662fe5b948e912c997a9499aea0795cbb77ee38b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page