Skip to content

Commit 44144de

Browse files
FIX: prefit=True by default in split methods docstrings (#734)
1 parent e409d06 commit 44144de

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ History
88
* Fix double inference when using `predict_set` function in split conformal classification
99
* Add FAQ entry in the documentation about ongoing works to extend MAPIE for LLM control
1010
* MAPIE now supports Python versions up to the latest release (currently 3.13)
11+
* Change `prefit` default value to `True` in split methods' docstrings to remain consistent with the implementation
1112

1213
1.0.1 (2025-05-22)
1314
------------------

mapie/classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class SplitConformalClassifier:
7979
8080
See :ref:`theoretical_description_classification`.
8181
82-
prefit : bool, default=False
82+
prefit : bool, default=True
8383
If True, the base classifier must be fitted, and the ``fit``
8484
method must be skipped.
8585

mapie/regression/regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SplitConformalRegressor:
7272
be provided.
7373
7474
See :ref:`theoretical_description_conformity_scores`.
75-
prefit : bool, default=False
75+
prefit : bool, default=True
7676
If True, the base regressor must be fitted, and the ``fit``
7777
method must be skipped.
7878

0 commit comments

Comments
 (0)