MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / predict

Method predict

mla/ensemble/gbm.py:137–138  ·  view source on GitHub ↗
(self, X=None)

Source from the content-addressed store, hash-verified

135 return y_pred
136
137 def predict(self, X=None):
138 return self.loss.transform(self._predict(X))
139
140
141class GradientBoostingRegressor(GradientBoosting):

Callers 1

_predictMethod · 0.45

Calls 2

_predictMethod · 0.95
transformMethod · 0.45

Tested by

no test coverage detected