Skip to main content

No project description provided

Project description

preprocessutils

This packages has data processing tools which can be used to make developer work easier

Installation

pip install preprocessutils

Usage

from preprocessutils import fix_imbalance

OVER-SAMPLE

balanced_dataframe = fix_imbalance(data=df, target=target, threshold=10.0, oversample=True)

OVER-SAMPLE SMOTE

balanced_dataframe = fix_imbalance(data=df, target=target, threshold=10.0, smote=True)

UNDER-SAMPLE

balanced_dataframe = fix_imbalance(data=df, target=target, threshold=10.0, oversample=False)

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

preprocessutils-1.0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

preprocessutils-1.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file preprocessutils-1.0.2.tar.gz.

File metadata

  • Download URL: preprocessutils-1.0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for preprocessutils-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3eedfc08d95056cf3a6e184a3d5c441e0fee73ec6a07d5dea40e304ac8860de0
MD5 410ada2d6a719bed36551076e15fc856
BLAKE2b-256 d6a52afe5b337e4d7e7898d83115998a14e0776068c89d07101871424204403b

See more details on using hashes here.

File details

Details for the file preprocessutils-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: preprocessutils-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for preprocessutils-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da6155687f6abed170f4d70171eafac3a737ad904e7b0ac38d8304529847ef13
MD5 abb9a4bc8c38b06c67cf756ad73607f3
BLAKE2b-256 cc09054995dc3b9f08213ab2382a926717ca7f6b17a5bd64fe2733113d4a4c72

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