seldonian.models.objectives¶
Objective functions
Functions
|
Calculate mean error rate over the whole sample. |
|
Calculate probabilistic mean false negative rate over the whole sample. |
|
Calculate probabilistic mean false positive rate over the whole sample. |
|
Calculate the vanilla importance sampling estimate using all episodes. |
|
Calculate mean error (y_hat-y) over the whole sample |
|
Calculate mean squared error over the whole sample |
|
Calculate mean negative rate for the whole sample. |
|
Calculate per-decision importance sampling (PDIS) estimate using all episodes. |
|
Calculate mean positive rate for the whole sample. |
|
Calculate mean true negative rate for the whole sample. |
|
Calculate mean true positive rate for the whole sample. |
|
Get the expected return of the PRIMARY reward for behavior episodes whose actions (cr,cf) fall within the theta bounding box. |
|
Calculate the weighted importance sampling (WIS) estimate using all episodes. |
|
Calculate mean logistic loss over all data points for binary classification |
|
Get the mean probability of predicting class label l_k if the true class label was l_i. This is the C[l_i,l_k] element of the confusion matrix, C. Let: i = number of datapoints j = number of features (including bias term, if provied) k = number of classes. |
|
Analytical gradient of the bounded squared error (BSE) |
|
Gradient of the mean squared error w.r.t. |
|
Gradient of binary logistic loss w.r.t. |
|
Calculate mean logistic loss over all data points for multi-class classification |