Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skore/src/skore/sklearn/_estimator/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def X_train(self):
def X_train(self, value):
raise AttributeError(
"The X_train attribute is immutable. "
"Please use the `from_unfitted_estimator` method to create a new report."
f"Call the constructor of {self.__class__.__name__} to create a new report."
)

@property
Expand All @@ -229,7 +229,7 @@ def y_train(self):
def y_train(self, value):
raise AttributeError(
"The y_train attribute is immutable. "
"Please use the `from_unfitted_estimator` method to create a new report."
f"Call the constructor of {self.__class__.__name__} to create a new report."
)

@property
Expand Down
Loading