A package for anomaly detection using Isolation Forest for Wazuh Alerts
Project description
Mimizuku
Mimizuku is a Python package for anomaly detection using Isolation Forest. It is designed to process log files and detect anomalies based on a variety of features.
Installation
pip install .
Usage
from mimizuku import Mimizuku
# Initialize the model
model = Mimizuku(n_estimators=500)
# Train the model with a log file or DataFrame
model.fit("./training.json")
# Save the trained model
model.save_model("./model.pkl")
# Load the model and use it for prediction
loaded_model = Mimizuku.load_model("./model.pkl")
anomalies_df = loaded_model.predict("./test.json")
# Display detected anomalies
print(anomalies_df)
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
mimizuku-0.2.22.tar.gz
(3.4 kB
view details)
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 mimizuku-0.2.22.tar.gz.
File metadata
- Download URL: mimizuku-0.2.22.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a19bd0d9d361fd169354d8f0595c8f3383efcc7c50030165d4b6b617875bec9
|
|
| MD5 |
859b28990099b8946d55f4a955fbee25
|
|
| BLAKE2b-256 |
3d62db50814d97eac7571849a2d4f8fe41a9c56858194fc492e28627644f953b
|
File details
Details for the file mimizuku-0.2.22-py3-none-any.whl.
File metadata
- Download URL: mimizuku-0.2.22-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eddb0c0d4a53133257d62b46a298fc3f3293abe5042b02cde7db228065015dac
|
|
| MD5 |
50140d60e5b1dce8559633c4c62a5077
|
|
| BLAKE2b-256 |
4bd818e30d34bf7f19289edaa53f9c9a625fb51c365a26d46a2542886554b5f6
|