We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d28474 commit 3a1cd06Copy full SHA for 3a1cd06
skore/src/skore/sklearn/_estimator/report.py
@@ -218,7 +218,7 @@ def X_train(self):
218
def X_train(self, value):
219
raise AttributeError(
220
"The X_train attribute is immutable. "
221
- "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."
222
)
223
224
@property
@@ -229,7 +229,7 @@ def y_train(self):
229
def y_train(self, value):
230
231
"The y_train attribute is immutable. "
232
233
234
235
0 commit comments