Skip to main content

Python/Pyspark Package for Model-agnostic Evaluation and Diagnosis.

Project description

logo

Pytalite: Model-agnostic diagnostics and evaluation tool for Python and Pyspark

Overview

Evaluating model performance and diagnosing models are important steps in machine learning model development. Pytalite provides a straightforward wrapper for visualizing model performance and diagnosing machine learning models. It enables users to visualize key snapshots of model performance, e.g. discrete precision-recall curves, probability density plots, model-agnostic feature importance, partial dependence plots, accumulative local effect plots, and feature correlation plots.

Requirements

Pytalite for python is developed under python 3.7, but is compatible with python 2.7. Pytalite for pyspark is developed to support spark 2.0 and above.

matplotlib ≥ 2.2.x (although 1.4.3 also works, higher version is recommended)

numpy ≥ 1.9.x

scipy ≥ 0.15.x

multiprocess ≥ 0.70.4

Package Structure

Highlights

Pytalite provides the following model evaluation and diagnostic algorithms:

  • Discrete Precision/Recall Plot (Binary-Classification only)
  • Feature Correlation Plot (Binary-Classification only)
  • Probability Density Plot (Binary-Classification only)
  • Feature Importance Plot (Binary-Classification only)
  • Accumulated Local Effect Plot (Binary-Classification / Regression, numerical feature)
  • Partial Dependence Plot (Binary-Classification / Regression)

Examples

See examples folder for usage examples.

Gallery

Discrete Precision/Recall Plot


Feature Importance Plot


Feature ALE Plot for numerical features

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

pytalite-1.0.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

pytalite-1.0.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file pytalite-1.0.0.tar.gz.

File metadata

  • Download URL: pytalite-1.0.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pytalite-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f06db7e87608a79f00e1dacd96458edf5fb525c305a9391105201e8d7d63ed7f
MD5 e6cc9860906d350cfd1c4fd303e73a75
BLAKE2b-256 d56e3b4aac500eba10d2a4983ce9e97664bf9d1097404af6589390c1539cdf56

See more details on using hashes here.

File details

Details for the file pytalite-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pytalite-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pytalite-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95273da99d9c93906a46e4f80b0cc461e399d724e80a8cfa1cd7d8940239a016
MD5 d07c022858ef393cbbb49da7e3899086
BLAKE2b-256 e7b8583ac3a6872a6958d39b9c7dddc221b421ffbf0e28053bff93908c2362f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page