Malware Detection
Collection
3 items โข Updated
How to use mihai-chindris/malware-detection-lgbm with Scikit-learn:
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
hf_hub_download("mihai-chindris/malware-detection-lgbm", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.htmlLightGBM-based static malware detector for PE (Portable Executable) files. Classifies Windows executables as benign or malicious using structural PE header features.
preprocessing_pipeline.joblibmodel_metrics.json for full configuration| Metric | Value |
|---|---|
| AUC | 0.9978 |
| Accuracy | 0.9895 |
| Confusion Matrix | [[4158, 66], [39, 5774]] |
production_model.joblib - trained LightGBM modelpreprocessing_pipeline.joblib - feature extraction pipelinefeature_names.json - feature name mappingmodel_metrics.json - training metrics and configurationIf you use this model, please cite the original dataset:
@dataset{fabriciojoc2024brazilian-malware,
author = {Fabricio, Joc},
title = {Brazilian Malware Dataset},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/fabriciojoc/brazilian-malware-dataset}
}