Please provide your feedback in this short Flings' survey.
fling logo of Resource-Efficient Supervised Anomaly Detection Classifier

Resource-Efficient Supervised Anomaly Detection Classifier

version 1.0.0 — June 02, 2021

Contributors 2

View All

Summary

Resource-Efficient Supervised Anomaly Detection Classifier is a scikit-learn classifier for resource-efficient anomaly detection that augments either Random-Forest or XGBoost classifiers to perform well in a resource-constrained setting. To that end, Resource-Efficient Supervised Anomaly Detection Classifier offers reduced memory footprint and computation as compared to Random-Forest and XGBoost.

The key idea behind Resource-Efficient Supervised Anomaly Detection Classifier is first to train a small model that is sufficient to correctly classify the majority of the queries. Then, using only subsets of the training data, train expert models for these fewer harder cases where the small model is at high risk of making a classification mistake.

We are happy to help you integrating RADE into your use case.
If you would like our help, please contact us:
Yaniv Ben-Itzhak, ybenitzhak@vmware.com
Shay Vargaftik, shayv@vmware.com

Requirements

Prerequisites:

  • CMake 3.13 or higher
  • numpy
  • pandas
  • sklearn
  • xgboost

Instructions

Prerequisities installation:

- Install CMake 3.13 or higher.

- The python packages can be installed manually or by running:

   pip3 install -r requirments.txt

 

Usage:

- This classifier is implemented as a sci-kit classifier.

- example_program.py contains an example that compares RADE to Random Forest and XGBoost.

- Another example code for using RADE is: 

    from rade_classifier import RadeClassifier

    from sklearn.datasets import make_classification

    from sklearn.metrics import classification_report

    from sklearn.model_selection import train_test_split



    X, y = make_classification(n_samples=1000000, n_features=4,

                                n_informative=2, n_redundant=0,

                                random_state=0, shuffle=False, weights=[0.99, 0.01])



    X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, stratify=y, random_state=42)



    clf = RadeClassifier()



    clf.fit(X_train, y_train)

    y_predicted = clf.predict(X_test)

    print(classification_report(y_test, y_predicted, digits=5))

Changelog

Version 1.0.0

  • Added OSL file

Similar Flings

No similar flings found. Check these out instead...
Jun 18, 2018
fling logo of Load Analysis Tool

Load Analysis Tool

version 1.0
Jun 29, 2016
fling logo of DRS Doctor

DRS Doctor

version 1.1

DRS Doctor is a command line tool that can be used to diagnose DRS behaviour in VMware vCenter clusters. When run against a DRS enabled cluster, it records information regarding the state of the cluster, the work load distribution, DRS moves, etc., in an easy to read log format.

Mar 16, 2015
fling logo of Horizon View Persona Management Share Validation Tool

Horizon View Persona Management Share Validation Tool

version 1.0

The Horizon View Persona Management Share Validation Tool is a command-line utility that analyzes user profiles and CIFS shares used by Persona Management to ensure minimum security requirements are met. Persona depends on two CIFS shares to function: the central profile store and the redirected folder share.

Feb 23, 2021
fling logo of VMware Cloud Foundation Powernova

VMware Cloud Foundation Powernova

version 1.0

VMware Cloud Foundation Powernova is a Fling built on top of VCF that provides the users the ability to perform Power Operations (Power ON, Power OFF) seamlessly across the entire inventory. It has a sleek UI to visualize the entire VCF inventory (which is the first of its kind for VCF) across the domains of VCF.

Dec 12, 2017
fling logo of Simple Natural Language Processing for iOS

Simple Natural Language Processing for iOS

version 1.0.0

Simple Natural Language Processing for iOS provides developers with a convenient framework for integrating Natural Language Processing (NLP) into their iOS Apps.

Jul 19, 2016
fling logo of VMware Modified Enhanced SCAP Content Editor

VMware Modified Enhanced SCAP Content Editor

version 1.0

VMware Modified Enhanced SCAP Content Editor is an updated version of the Enhanced SCAP Content Editor too by G2, Inc, and is an open source project, vmware-scap-edit, on GitHub.

View More