A python package for removing outliers from a dataset using InterQuartile Range (IQR)
Outlier Removal Using InterQuartile Range
Project 2 : UCS633
Submitted By: Kunal Jindal 101703299
InterQuartile Range (IQR) Description
Any set of data can be described by its five-number summary. These five numbers, which give you the information you need to find patterns and outliers, consist of:
The minimum or lowest value of the dataset.
The first quartile Q1, which represents a quarter of the way through the list of all data.
The median of the data set, which represents the midpoint of the whole list of data.
The third quartile Q3, which represents three-quarters of the way through the list of all data.
The maximum or highest value of the data set.
These five numbers tell a person more about their data than looking at the numbers all at once could, or at least make this much easier.
Calculation of IQR
IQR = Q3 – Q1
MIN = Q1 - (1.5IQR)
MAX = Q3 + (1.5IQR)
Use the package manager pip to install outlierRemoval-kjindal-101703299.
pip install outlierRemoval-kjindal-101703299
How to use this package:
outlierRemoval-kjindal-101703299 can be run as shown below:
In Command Prompt
>> outlierRemoval dataset.csv
Output Dataset after Removal
It is clearly visible that the rows containing Student1, Student8 and Student9 have been removed due to them being Outliers.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size outlierRemoval_kjindal_101703299-1.0.2-py3-none-any.whl (4.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size outlierRemoval-kjindal-101703299-1.0.2.tar.gz (3.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for outlierRemoval_kjindal_101703299-1.0.2-py3-none-any.whl
Hashes for outlierRemoval-kjindal-101703299-1.0.2.tar.gz