abacusai.range_violation

Classes

RangeViolation

Summary of important range mismatches for a numerical feature discovered by a model monitoring instance

Module Contents

class abacusai.range_violation.RangeViolation(client, name=None, trainingMin=None, trainingMax=None, predictionMin=None, predictionMax=None, freqAboveTrainingRange=None, freqBelowTrainingRange=None)

Bases: abacusai.return_class.AbstractApiClass

Summary of important range mismatches for a numerical feature discovered by a model monitoring instance

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

  • name (str) – Name of feature.

  • trainingMin (float) – Minimum value of training distribution for the specified feature.

  • trainingMax (float) – Maximum value of training distribution for the specified feature.

  • predictionMin (float) – Minimum value of prediction distribution for the specified feature.

  • predictionMax (float) – Maximum value of prediction distribution for the specified feature.

  • freqAboveTrainingRange (float) – Frequency of prediction rows below training minimum for the specified feature.

  • freqBelowTrainingRange (float) – Frequency of prediction rows above training maximum for the specified feature.

name
training_min
training_max
prediction_min
prediction_max
freq_above_training_range
freq_below_training_range
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