Skip to main content
https://img.shields.io/badge/python-3.7-blue.svg

What is it?

Paralytics package was created in order to simplify and accelerate repetitive tasks during modeling and predictive analysis. It especially puts stronger emphasis on data preprocessing, which is often the most arduous stage of modeling.

The purpose of this package is to reduce to a minimum time allocated on repetitive activities preceding the problem-specific approach to a given problem, containing among others optimization of the applied machine learning techniques, which is the part that most of Data Scientists would like to devote the most energy to, however, by poorly prepared data, it is often only a fraction of the total work time devoted to the project.

Main Features

Highlighting the main functionalities of the Paralytics:

  • Expanded target encoding of categorical variables using double cross-validation technique with additional regularisation preventing favoritism of sparse categories with reduction of excessive adjustment to the training set, effectively reducing overfitting.

  • Discretization of continuous variables to ordinal using shallow decision tree or method based on Spearman’s rank-order correlation.

  • Processing data read into the DataFrames, including:

    • automatic unification of variable types,

    • grouping of sparse categories,

    • projecting of text variables whose unique elements symbolize a binary response onto binary variables,

    • imputation of missing data.

  • Collinearity reduction using such factors as: variance inflation factor (VIF) or correlation.

Installation

Dependencies

Paralytics package requirements are checked and, if needed, installed during the installation process automatically. Mainly used packages across the Paralytics are:

For visualizations:

The easiest way to install the package is using pip:

pip install paralytics

If you want to omit the packages upgrade (when your version does not meet the requirements) run:

pip install paralytics --no-deps

When functionalities requiring optional dependencies are needed you can install those extra requirements by running:

pip install paralytics[<extra-name>]

For example, to use BaseSeleniumBrowser (requires selenium) and VIFSelector (requires statsmodels) run:

pip install paralytics[browser,vif]

Installation of all extras is possible via:

pip install paralytics[all]

You can always install directly from the github repository:

pip install git+https://github.com/mrtovsky/Paralytics.git

Release files for paralytics 0.3.2

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

Source distribution (sdist)

Source distribution for paralytics 0.3.2
File Size Uploaded
paralytics-0.3.2.tar.gz 37.9 kB Details

Release files / paralytics-0.3.2.tar.gz

Download URL paralytics-0.3.2.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
75c9a0720303144b44a4b86196443bd70482b447ff0a6355e2e68e88f8afcb2c
BLAKE2b-256 checksum
How to use checksums
5159961302f6ce630e70ab0b38ec08f344d39d254510f7c669ccfc2235c636c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

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