Skip to main content

Anomaly detection for one-dimensional data

Project description

xiezhi: The First One-dimensional Anomaly Detection Tool

Install

pip install xiezhi-ai

Usage

The inputs include data, beta, and alpha.

data: The current version only supports the detection of one-dimensional data, so the data should be a list.

beta and alpha are set between 0 and 1 and beta is smaller than alpha, if there are few anomalies, beta and alpha can be set close to 1; otherwize, it should be set close to 0.5. If the number of anomalies are unknown, then both of beta and alpha should be close to 0.5.

Below is the example:

import xiezhi as xz

data=[1,2,3,4,5,6,7,9,10,20] # here 20 is the anomaly
benign_data=xz(data,0.7,0.9) # xiezhi will return the benign data

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

xiezhi-ai-0.0.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

xiezhi_ai-0.0.0-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page