Add Data analysis steps: data-cleaning, data-outlier-detection #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces two new library steps aimed at enhancing data preprocessing and outlier detection capabilities within our project.
Step 1: Data Cleaning
Implemented a data cleaning step capable of handling various parameters:
remove_null: Removes null values from the dataset if enabled.
null_lookup_columns: Allows specifying columns for null value lookup, providing flexibility in data cleansing.
duplicate_lookup_columns: Facilitates specifying columns for duplicate value lookup, enhancing data integrity checks.
clear_formatting: Offers an option to clear formatting from the dataset for consistency.
output_file_name: Enables customization of the cleaned output file name and path.
remove_duplicate_rows: Incorporates functionality to eliminate duplicate rows for streamlined data processing.
Step 2: Outlier Detection
Developed an outlier detection step employing four methods:
Z-score:
Identifies outliers based on standard deviation from the mean.
IQR (Interquartile Range):
Detects outliers using the range between the first and third quartiles.
Isolation Forest:
Implements an ensemble method for detecting anomalies in data points.
Autoencoder:
Utilizes deep learning techniques to reconstruct input data, flagging outliers based on reconstruction error.
Additionally, the step generates visualizations including
to aid in outlier analysis and interpretation via visualizing the data