Skip to content

Commit

Permalink
Library Updates (#311)
Browse files Browse the repository at this point in the history
* update whats next for binary perf est

* upd remaining perf est docs

* remove unneded conf band variabls
  • Loading branch information
nikml committed Jul 12, 2023
1 parent 60ef79d commit ebf754b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 34 deletions.
2 changes: 2 additions & 0 deletions docs/tutorials/compare_estimated_and_realized_performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ When the :term:`targets<Target>` become available, the quality of estimations pr

The beginning of the code below is similar to the one in :ref:`tutorial on
performance calculation with binary classification data<binary-performance-calculation>`.
while this tutorial uses the **roc_auc** metric, any metric estimated and calculated by NannyML can
be used for comparison.

For simplicity this guide is based on a synthetic dataset included in the library, where the monitored model
predicts whether a customer will repay a loan to buy a car.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,5 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target values become available they can be :ref:`compared with the estimated
results<compare_estimated_and_realized_performance>`.

You can learn more about the Confidence Based Performance Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.
When the target values become available we can
:ref:`compared realized and estimated business value results<compare_estimated_and_realized_performance>`.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,5 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target values become available they can be :ref:`compared with the estimated
results<compare_estimated_and_realized_performance>`.

You can learn more about the Confidence Based Performance Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.
When the target values become available we can
:ref:`compared realized and estimated confusion matrix results<compare_estimated_and_realized_performance>`.
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,5 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target values become available they can be :ref:`compared with the estimated
results<compare_estimated_and_realized_performance>`.

You can learn more about the Confidence Based Performance Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.

And if targets are available or become available, you can learn more about *calculating* confusion
matrix elements in the :ref:`confusion-matrix-calculation` tutorial.
When the target values become available we can
:ref:`compared realized and estimated custom performance metric results<compare_estimated_and_realized_performance>`.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,5 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target values become available they can be :ref:`compared with the estimated
results<compare_estimated_and_realized_performance>`.

You can learn more about the Confidence Based Performance Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.
When the target values become available we can
:ref:`compared realized and estimated performance results<compare_estimated_and_realized_performance>`.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,5 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target results become available they can be :ref:`compared with the estimated results<compare_estimated_and_realized_performance>`.

You can learn more about the Confidence Based Performance Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.
When the target values become available we can
:ref:`compared realized and performance results<compare_estimated_and_realized_performance>`.
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,8 @@ What's next
-----------

The :ref:`Data Drift<data-drift>` functionality can help us to understand whether data drift is causing the performance problem.
When the target values become available they can be :ref:`compared with the estimated
results<compare_estimated_and_realized_performance>`.

You can learn more about Direct Error Estimation and its limitations in the
:ref:`How it Works page<performance-estimation-deep-dive>`.
When the target values become available we can
:ref:`compared realized and estimated performance results<compare_estimated_and_realized_performance>`.


.. _LGBMRegressor defaults: https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.LGBMRegressor.html
Expand Down
2 changes: 0 additions & 2 deletions nannyml/performance_estimation/confidence_based/cbpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,6 @@ def __init__(
)
)

self.confidence_upper_bound = 1
self.confidence_lower_bound = 0
self.needs_calibration: bool = False

if calibrator is None:
Expand Down

0 comments on commit ebf754b

Please sign in to comment.