From b607cb556d44d64cf45048356f7ea209cb39331f Mon Sep 17 00:00:00 2001 From: sofiane Date: Thu, 20 Jul 2023 16:47:14 +0200 Subject: [PATCH] UPD: update file rst+ docString --- doc/notebooks_multilabel_classification.rst | 2 +- mapie/control_risk/crc_rcps.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/notebooks_multilabel_classification.rst b/doc/notebooks_multilabel_classification.rst index 02b476ea8..de26d81b3 100644 --- a/doc/notebooks_multilabel_classification.rst +++ b/doc/notebooks_multilabel_classification.rst @@ -7,4 +7,4 @@ methods proposed in MAPIE. 1. Overview of Risk Control for Multi-Label Classification : `notebook `_ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- \ No newline at end of file +----------------------------------------------------------------------------------------------------------------------------------------- \ No newline at end of file diff --git a/mapie/control_risk/crc_rcps.py b/mapie/control_risk/crc_rcps.py index d33e6968b..47c593a68 100644 --- a/mapie/control_risk/crc_rcps.py +++ b/mapie/control_risk/crc_rcps.py @@ -29,9 +29,12 @@ def get_r_hat_plus( method: Optional[str] Correspond to the method use to control recall score. Could be either CRC or RCPS. + When method is RCPS and bound is None the default + bound use wsr. bound: Optional[str] Bounds to compute. Either hoeffding, bernstein or wsr. + When method is RCPS and bound in None, use wsr bound. delta: Optional[float] Level of confidence.