Skip to main content

Random Robust Cut Forest - Moody's Analytics

Installation

pip install RRCF_Outlier_Detection

Objectives

  1. Use the RRCTree included in rrcf package as a week learner for creating a forest, incrementing the outlier

    detection power.

  2. Do the code more user-friendly for its fast implementation

  3. Automatize the process of outlier detection through the usage of 3 Sigma analysis

Functions

Outlier_Detector ( x, num_trees, num_samples per tree )

  • Trains the RRCForest

  • Parameters:

    x Numpy Array / Data from which we want to detect outliers

    num_trees int / Number of trees that are going to be used a weak learners for the forest

    num_samples per tree int / Number of samples per tree. this parameter is recommended to be established as (1 / Estimated Proportion of Outliers)

  • Attributes:

    rrcf_outlier_score () Returns a Pandas' series with the CoDist scores for all input samples

    rrcf_outlier_detector () Returns a Numpy array with the detected outliers from the input samples

Citing

M. Bartos, A. Mullapudi, & S. Troutman, rrcf: Implementation of the Robust Random Cut Forest algorithm for anomaly detection on streams, in: Journal of Open Source Software, The Open Journal, Volume 4, Number 35. 2019

Release files for rrcf-outlier-detector-MA 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rrcf-outlier-detector-MA 0.1.0
File Size Uploaded
rrcf-outlier-detector-MA-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rrcf-outlier-detector-MA 0.1.0
File Interpreter ABI Platform
rrcf_outlier_detector_MA-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / rrcf-outlier-detector-MA-0.1.0.tar.gz

Download URL rrcf-outlier-detector-MA-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
214535dc301c4d5326a870c800f048a7a1324aaf2c4ae66bdd4e63932e5b9465
BLAKE2b-256 checksum
How to use checksums
5d5f1eaa52cb9a7081676c11ba2de996fb3a9f50ba8cd7a44b0937fc9465761b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / rrcf_outlier_detector_MA-0.1.0-py3-none-any.whl

Download URL rrcf_outlier_detector_MA-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b56272a2002325692eb24efc05623e0f0e9904f1a7f1008ff0318c3f5640a1a3
BLAKE2b-256 checksum
How to use checksums
83fd25d6349dfdea59927a7da2667503f35758ed8cf27b9b836d70cb8cb26e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page