evalml.pipelines.components.XGBoostClassifier

Inheritance diagram of XGBoostClassifier
class evalml.pipelines.components.XGBoostClassifier(eta=0.1, max_depth=6, min_child_weight=1, n_estimators=100, random_state=0, **kwargs)[source]

XGBoost Classifier.

name = 'XGBoost Classifier'
model_family = 'xgboost'
supported_problem_types = [<ProblemTypes.BINARY: 'binary'>, <ProblemTypes.MULTICLASS: 'multiclass'>]
hyperparameter_ranges = {'eta': Real(low=1e-06, high=1, prior='uniform', transform='identity'), 'max_depth': Integer(low=1, high=10, prior='uniform', transform='identity'), 'min_child_weight': Real(low=1, high=10, prior='uniform', transform='identity'), 'n_estimators': Integer(low=1, high=1000, prior='uniform', transform='identity')}
default_parameters = {'eta': 0.1, 'max_depth': 6, 'min_child_weight': 1, 'n_estimators': 100}

Instance attributes

SEED_MAX

SEED_MIN

feature_importance

Returns importance associated with each feature.

parameters

Returns the parameters which were used to initialize the component

Methods:

__init__

Initialize self.

clone

Constructs a new component with the same parameters

describe

Describe a component and its parameters

fit

Fits component to data

predict

Make predictions using selected features.

predict_proba

Make probability estimates for labels.