abacusai.embedding_feature_drift_distribution

Classes

EmbeddingFeatureDriftDistribution

Feature distribution for embeddings

Module Contents

class abacusai.embedding_feature_drift_distribution.EmbeddingFeatureDriftDistribution(client, distance=None, jsDistance=None, wsDistance=None, ksStatistic=None, psi=None, csi=None, chiSquare=None, averageDrift={})

Bases: abacusai.return_class.AbstractApiClass

Feature distribution for embeddings

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • distance (list) – Histogram data of KL divergences between the training distribution and the range of values in the specified window.

  • jsDistance (list) – Histogram data of JS divergence between the training distribution and the range of values in the specified window.

  • wsDistance (list) – Histogram data of Wasserstein distance between the training distribution and the range of values in the specified window.

  • ksStatistic (list) – Histogram data of Kolmogorov-Smirnov statistic computed between the training distribution and the range of values in the specified window.

  • psi (list) – Histogram data of Population stability index computed between the training distribution and the range of values in the specified window.

  • csi (list) – Histogram data of Characteristic Stability Index computed between the training distribution and the range of values in the specified window.

  • chiSquare (list) – Histogram data of Chi-square statistic computed between the training distribution and the range of values in the specified window.

  • averageDrift (DriftTypesValue) – Average drift embedding for each type of drift

distance
js_distance
ws_distance
ks_statistic
psi
csi
chi_square
average_drift
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict