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.4.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.4.tar.gz.
File metadata
- Download URL: mimizuku-0.2.4.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 |
5f7358f93f3ef5b823a877ddedf4fdec93c6d389b87f356872a7333317cd5695
|
|
| MD5 |
921af11558cba8f65f1b32d50d2f8c09
|
|
| BLAKE2b-256 |
74c47922db490b2684fdc31cfa647054e1442deb83305cbf22c110a453bfdbcd
|
File details
Details for the file mimizuku-0.2.4-py3-none-any.whl.
File metadata
- Download URL: mimizuku-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
bdb6cbdc5ec9d43ab42cbbe977b346ccdb1fe9498f333f7c2d2dd8e0e58bf412
|
|
| MD5 |
f255a9ae8703bcbba65d21a3f2f5d720
|
|
| BLAKE2b-256 |
270453bb9a6d2f5c36a84e18f240c31bcc7ed30d4f7934e17de9eaaf9f651be1
|