XGBoost
Gradient-boosted trees
Начните здесь
Попробуйте
example.py
import xgboost as xgb
import numpy as np
X = np.array([[0], [1], [2], [3]])
model = xgb.XGBRegressor(n_estimators=4).fit(X, [0, 2, 4, 6])
print(model.predict(X))Gradient-boosted trees
import xgboost as xgb
import numpy as np
X = np.array([[0], [1], [2], [3]])
model = xgb.XGBRegressor(n_estimators=4).fit(X, [0, 2, 4, 6])
print(model.predict(X))