Installation

TLDR

pip install pdstools

Pega Data Scientist Tools (pdstools) is a public Python library and it is published on pypi. As such, you can install it just like any other Python library; using your package manager of choice. We have a strong preference for uv, hence this getting started page is written with the uv workflow as a default. To use another package manager, simply use the corresponding commands.

Getting Started

With pdstools installed, you can test that it’s installed properly by recreating the bubble chart, as seen in Prediction Studio, on some sample data:

[2]:
from pdstools import cdh_sample

cdh_sample().plot.bubble_chart()

To run these analyses over your own data, please refer to the ADMDatamart class documentation or for an example of how to use it, refer to the Example ADM Analysis.

To run the Health Check and Model Reports, please refer to the Command Line Interface documentation or the ADM Health Check Article

To analyze the results of a Value Finder simulation run, refer to the ValueFinder class documentation or the Example Value Finder Analysis.

To gain insights from the Explainability Extract or Decision Analyzer datasets, please refer to the DecisionAnalyzer class documentation or the Example Explainability Extract Analysis

For information on how to use the Infinity DX client, please refer to the Infinity class documentation or the Prediction Studio API Explainer article.