A Python package for CNN-LSTM model pre-trained on CICIDS2017 and finetuned on UNSW-NB15 for network intrusion detection.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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:
- Load your pre-trained model (.h5 file).
- Preprocess your network traffic data (CSV format).
- Make predictions on the data.
Example:
import net_intrusion_detection
from net_intrusion_detection.model import load_model, preprocess_data, predict_traffic
# Load the pre-trained model
model = load_model('path/to/model.h5')
# Preprocess the data
data = preprocess_data('path/to/network_data.csv')
# Make predictions
predictions = predict_traffic(model, data)
# Output predictions
print(predictions)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file net_intrusion_detection-0.1.0.tar.gz.
File metadata
- Download URL: net_intrusion_detection-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13c38a82212099c1da365f67bcb3ffb89106d9d28137dc2759b950b4747e4b1
|
|
| MD5 |
469855077242f67543c33bc01a2b1266
|
|
| BLAKE2b-256 |
dcef901ff594d5a85db8c5c389e5b085b441d350ca55987c71cb9f0e3cdb0d29
|
File details
Details for the file net_intrusion_detection-0.1.0-py3-none-any.whl.
File metadata
- Download URL: net_intrusion_detection-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69ae246dec7155cc94bfd2c24b084cca5d25d1ec69ec16b7f91587d992dc4d9
|
|
| MD5 |
149cf475f36a84b25dd310e56cb5fe3a
|
|
| BLAKE2b-256 |
efa654077e5dfeb548c923b1f23653cdd61a8473e25564f029c597ffd5ccb8b1
|