Skip to main content

Put a description

Project description

Outlier Detection

Detect and filter outliers.

Documentation and Code can be found on Github

Install

pip install sensor_dataset

Z-SCORE Normalization

Normalize data with Z-SCORE

from sensor_dataset.outlier_detection import ZSCORE

Get a normalized Koalas dataframe for the sensor dataset and fig objects by calling:

kdf, figs = ZSCORE()

figs['NORMAL'].write_image("images/zscore_normal.png")
figs['RECOVERING'].write_image("images/zscore_recovering.png")
figs['BROKEN'].write_image("images/zscore_broken.png")

When running on a notebook you may show an interactive plot by using:

fig.show()

IQR

Filter data using IQR

from sensor_dataset.outlier_detection import IQR

kdf, figs = IQR()

figs['NORMAL'].write_image("images/iqr_normal.png")
figs['RECOVERING'].write_image("images/iqr_recovering.png")
figs['BROKEN'].write_image("images/iqr_broken.png")

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

sensor_dataset-0.0.1.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

sensor_dataset-0.0.1-py3-none-any.whl (9.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