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:
- Load your pre-trained model (.h5 file).
- Preprocess your network traffic data (CSV format).
- 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
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 network_intrusion_detection-0.1.4.tar.gz.
File metadata
- Download URL: network_intrusion_detection-0.1.4.tar.gz
- Upload date:
- Size: 869.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ad0e7a6a9a2297f5aaecc7e04a65c05f19a69d447e7f3aa5581b2936c56b3e6
|
|
| MD5 |
8d26c65c906370dc4e1882fec4db184c
|
|
| BLAKE2b-256 |
4f1f6651fd0e708c807b15ee6f69b2eb3f0c0031b264481aecf48bfb55a9c064
|
File details
Details for the file network_intrusion_detection-0.1.4-py3-none-any.whl.
File metadata
- Download URL: network_intrusion_detection-0.1.4-py3-none-any.whl
- Upload date:
- Size: 869.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 |
e3d4dbbb07048096f4af48421f7327dcd84151695d9faaa4ee05b37fe36b0379
|
|
| MD5 |
af9ff436edda98e81d87c683f42a23d4
|
|
| BLAKE2b-256 |
918f150e28ec500ec37ca24662fe5b948e912c997a9499aea0795cbb77ee38b3
|