Python API#
This section documents the complete Python API for boosters.
boosters provides two APIs:
Core API — Full control with explicit configuration (
GBDTModel,GBDTConfig, etc.)sklearn API — Familiar sklearn-compatible estimators (
GBDTRegressor,GBDTClassifier, etc.)
See Choosing an API for guidance on which to use.
Core API#
The core API provides full control over model training and configuration.
Models
Dataset holding features, labels, and optional metadata. |
|
Gradient Boosted Decision Tree model. |
|
Gradient Boosted Linear model. |
Configuration
Main configuration for GBDT model. |
|
Main configuration for GBLinear model. |
|
Objective (loss) functions for gradient boosting. |
|
Evaluation metrics for gradient boosting. |
sklearn API#
The sklearn API provides familiar estimators that work with Pipeline,
cross_val_score, GridSearchCV, and other sklearn utilities.
Gradient Boosted Decision Tree Regressor. |
|
Gradient Boosted Decision Tree Classifier. |
|
Gradient Boosted Linear Regressor. |
|
Gradient Boosted Linear Classifier. |