Skip to main content

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


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)

Uploaded Source

Built Distribution

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

mimizuku-0.2.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for mimizuku-0.2.4.tar.gz
Algorithm Hash digest
SHA256 5f7358f93f3ef5b823a877ddedf4fdec93c6d389b87f356872a7333317cd5695
MD5 921af11558cba8f65f1b32d50d2f8c09
BLAKE2b-256 74c47922db490b2684fdc31cfa647054e1442deb83305cbf22c110a453bfdbcd

See more details on using hashes here.

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

Hashes for mimizuku-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bdb6cbdc5ec9d43ab42cbbe977b346ccdb1fe9498f333f7c2d2dd8e0e58bf412
MD5 f255a9ae8703bcbba65d21a3f2f5d720
BLAKE2b-256 270453bb9a6d2f5c36a84e18f240c31bcc7ed30d4f7934e17de9eaaf9f651be1

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