Skip to main content

Data Preprocessing library that provides customizable pipelines.

Project description

Preprocessy

Workflow Maintenance Issues Open Forks Stars GitHub contributors PRs welcome MIT license

Preprocessy is a library that provides data preprocessing pipelines for machine learning. It bundles all the common preprocessing steps that are performed on the data to prepare it for machine learning models. It aims to do so in a manner that is independent of the source and type of dataset. Hence, it provides a set of functions that have been generalised to different types of data.

The pipelines themselves are composed of these functions and flexible so that the users can customise them by adding their processing functions or removing pipeline functions according to their needs. The pipelines thus provide an abstract and high-level interface to the users.

Pipeline Structure

The pipelines are divided into 3 logical stages -

Stage 1 - Pipeline Input

Input datasets with the following extensions are supported - .csv, .tsv, .xls, .xlsx, .xlsm, .xlsb, .odf, .ods, .odt

Stage 2 - Processing

This is the major part of the pipeline consisting of processing functions. The following functions are provided out of the box as individual functions as well as a part of the pipelines -

  • Handling Null Values
  • Handling Outliers
  • Normalisation and Scaling
  • Label Encoding
  • Correlation and Feature Extraction
  • Training and Test set splitting

Stage 3 - Pipeline Output

The output consists of processed dataset and pipeline parameters depending on the verbosity required.

Project Structure

.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── datasets
├── evaluations
├── preprocessy
├── requirements.txt
├── requirements_dev.txt
├── setup.py
├── tests
└── venv

5 directories, 6 files
  • preprocessy - Contains the different pipeline and function classes

  • tests - Contains all the unit and integration tests

  • datasets - Contains sample datasets for development purposes

  • evaluations - Contains jupyter notebooks with example implementations and performance measurements

Requirements

pandas
scikit-learn # required for feature selection

For development requirements see Contributing Guidelines

Contributing

Please read our Contributing Guide before submitting a Pull Request to the project.

Support

Feel free to contact any of the maintainers. We're happy to help!

Roadmap

Check out our roadmap to stay informed of the latest features released and the upcoming ones. Feel free to give us your insights!

Documentation

Currently, documentation is under development. All contributions are welcome! Please see our Contributing Guide.

License

See the LICENSE file for licensing information.

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

preprocessy-1.0.0a0.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

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

preprocessy-1.0.0a0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file preprocessy-1.0.0a0.tar.gz.

File metadata

  • Download URL: preprocessy-1.0.0a0.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.5 Darwin/20.5.0

File hashes

Hashes for preprocessy-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 7ab5f6f0cc20fb0bf4a7d4f15db834ed4933eb75cbcccb3ccf85663849e12dc7
MD5 42cab70bce638efe81ebfca5ccc012c2
BLAKE2b-256 51c8ef0c01a6974cb3429be1047ae44fb451f2c994bdff7fcc41e78fe7576906

See more details on using hashes here.

File details

Details for the file preprocessy-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: preprocessy-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.5 Darwin/20.5.0

File hashes

Hashes for preprocessy-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ba0c92c488975047742e38017da14357ca5b77abd4470993f710bdf1ea94b15
MD5 690358db23aa46e201f9e903dec6f3c3
BLAKE2b-256 eae16e5871a4314a7ce99765911f87e93cd2b6553b243be36db82063978dd152

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