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 ecf519d commit fdfba08Copy full SHA for fdfba08
Orange/base.py
@@ -229,6 +229,9 @@ def predict(self, X):
229
if type(self).predict_storage is Model.predict_storage:
230
raise TypeError("Descendants of Model must overload method predict")
231
else:
232
+ warnings.warn("Automatic fallback to predict_storage is deprecated. "
233
+ "Models will need to implement predict.",
234
+ OrangeDeprecationWarning)
235
Y = np.zeros((len(X), len(self.domain.class_vars)))
236
Y[:] = np.nan
237
table = Table(self.domain, X, Y)
0 commit comments