seldonian.parse_tree.zhat_funcs.vector_Negative_Rate¶
- vector_Negative_Rate(model, theta, X, Y, **kwargs)¶
- Calculate 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:
- Negative rate for each observation 
- Return type:
- numpy ndarray(float between 0 and 1)