Skip to main content

Dealing with outliers

Project description

py_outlier_utils

ci-cd

Overview

As data rarely comes ready to be used and analyzed for machine learning right away, this package aims to help speed up the process of cleaning and doing initial exploratory data analysis specific to outliers. The package focuses on the tasks of identifying univariate outliers, providing summary of outliers like count, range of outliers, visualize them and giving functionality to remove them from data.

Installation

$ pip install py_outlier_utils

Functions

The three functions contained in this package are as follows:

  • outlier_identifier: A function to identify outliers in the dataset and provide their summary as an output
  • visualize_outliers: A function to generate the eda plots highlighting outliers providing additional functionality to visualize them
  • trim_outliers: A function to generate outlier free dataset by imputing them with mean, median or trim entire row with outlier from dataset.

Our Place in the Python Ecosystem

While Python packages with similar functionalities exist, this package aims to provide summary, visualization of outliers in a single package with an additional functionality to generate outlier-free dataset. Few packages with similar functionality are as follows:

Usage

py_outlier_utils can be used to deal with the outliers in a dataset and plot the distribution of the dataset. More information can be found in Example usage.

Contributing

This package is authored by Karanpreet Kaur, Linhan Cai, Qingqing Song as part of the course project in DSCI-524 (UBC-MDS program). You can see the list of all contributors in the contributors tab.

We welcome and recognize all contributions. If you wish to participate, please review our Contributing guidelines

License

py_outlier_utils is licensed under the terms of the MIT license.

Credits

py_outlier_utils was created with cookiecutter and the py-pkgs-cookiecutter template.

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

py_outliers_utils-1.2.4.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_outliers_utils-1.2.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file py_outliers_utils-1.2.4.tar.gz.

File metadata

  • Download URL: py_outliers_utils-1.2.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for py_outliers_utils-1.2.4.tar.gz
Algorithm Hash digest
SHA256 ef853957e44b4409d3f75f799d46f1744bc547f937d3f6dfa6db29ed213cb745
MD5 11e3b86060d0733eae1314e80622ccde
BLAKE2b-256 d7506bff3acf0a13b84c18da9827f26915c52e8d26ab8d7bb008dbd0b2f7f527

See more details on using hashes here.

File details

Details for the file py_outliers_utils-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: py_outliers_utils-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for py_outliers_utils-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac9df3b6a3f5bdab5d7b5fa74066ddfc0547c6d9008a893ae04eb6e888d560ba
MD5 1adc60528e7210e835c2657e0984bac1
BLAKE2b-256 d5f91a7f4595ac544248bd4af7005dd7f1b145edcf6befc78fd8c1a226559e4f

See more details on using hashes here.

Supported by

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