Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadhussein462 committed Dec 2, 2024
1 parent d02cdc4 commit e513767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapie/estimator/regressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ def fit_multi_estimators(

if self.cv == "prefit":

# self.k_ is defined but not used
# Because it is among the fit attributes
# Create a placeholder attribute 'k_' filled with NaN values
# (This attribute is defined for consistency but is not used in prefit mode)
self.k_ = np.full(
shape=(n_samples, 1), fill_value=np.nan, dtype=float
)
Expand Down

0 comments on commit e513767

Please sign in to comment.