Skip to content

label_stability

Compute per-sample accuracy for each model predictions.

Return per_sample_accuracy and label_stability (refer to https://www.osti.gov/servlets/purl/1527311)

Parameters

  • y_true (pandas.core.frame.DataFrame)

    y test dataset

  • uq_labels (pandas.core.frame.DataFrame)

    uq_labels variable from count_prediction_metrics()