Skip to content

Commit 45f7d79

Browse files
remove unreachable section (#2443)
1 parent ebf30d3 commit 45f7d79

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

daal4py/mb/tree_based_builders.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,6 @@ def _predict_regression(
265265
# unknown type error
266266
raise
267267

268-
# fallback to calculation without `resultsToCompute`
269-
predict_algo = d4p.gbt_regression_prediction(fptype=fptype)
270-
predict_result = predict_algo.compute(X, self.daal_model_)
271-
return predict_result.prediction.ravel()
272-
273268
def _predict_regression_with_results_to_compute(
274269
self, X, fptype, pred_contribs=False, pred_interactions=False
275270
):

0 commit comments

Comments
 (0)