seldonian.parse_tree.zhat_funcs.vector_False_Negative_Rate

vector_False_Negative_Rate(model, theta, X, Y, **kwargs)

Calculate false negative rate for each observation. Meaning depends on whether binary or multi-class classification.

Parameters:
  • model – SeldonianModel instance

  • theta (numpy ndarray) – The model weights

  • X (numpy ndarray) – The features

  • Y (numpy ndarray) – The labels

Returns:

False negative rate for each observation

Return type:

numpy ndarray(float between 0 and 1)