MCPcopy
hub / github.com/MingchaoZhu/DeepLearning / fit

Method fit

code/chapter7.py:720–723  ·  view source on GitHub ↗
(self, X, y)

Source from the content-addressed store, hash-verified

718 return leaf_approximation
719
720 def fit(self, X, y):
721 self._impurity_calculation = self._gain_by_taylor
722 self._leaf_value_calculation = self._approximate_update
723 super(XGBoostRegressionTree, self).fit(X, y)
724
725
726class XGBoost(object):

Callers 1

fitMethod · 0.95

Calls 1

fitMethod · 0.45

Tested by

no test coverage detected