Skip to main content

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")

Metadata

Release files for sensor-dataset 0.0.1

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

Source distribution (sdist)

Source distribution for sensor-dataset 0.0.1
File Size Uploaded
sensor_dataset-0.0.1.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sensor-dataset 0.0.1
File Interpreter ABI Platform
sensor_dataset-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / sensor_dataset-0.0.1.tar.gz

Download URL sensor_dataset-0.0.1.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
26690febd3b93911ea871ffe359143054138bad62fceb49c9ebba8fe7494ba07
BLAKE2b-256 checksum
How to use checksums
bfbe823ef471f6db827c32f5f6ff7bb32b1ec4406c6d54a385a61bde090e08ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

Release files / sensor_dataset-0.0.1-py3-none-any.whl

Download URL sensor_dataset-0.0.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9a7c103986c002e95b9a45805ee2e1e2b4f2d4c8dfd8c74d4f4d0eab66bc06d
BLAKE2b-256 checksum
How to use checksums
a6ecd1195aab3e77f43de374ab19e30b9b70237c9a49e574b22b4c8207bf03b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.0.1 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