DashAI.back.models.HistGradientBoostingClassifier

class HistGradientBoostingClassifier(**kwargs)[source]

Scikit-learn’s HistGradientBoostingRegressor wrapper for DashAI.

__init__(**kwargs) None[source]

Methods

__init__(**kwargs)

calculate_metrics([split, level, log_index, ...])

Calculate and save metrics for a given data split and level.

decision_function(X)

Compute the decision function of X.

fit(X, y[, sample_weight, X_val, y_val, ...])

Fit the gradient boosting model.

get_metadata()

Get metadata values for the current model.

get_metadata_routing()

Get metadata routing of this object.

get_params([deep])

Get parameters for this estimator.

get_schema()

Generates the component related Json Schema.

load(filename)

Load the model of the specified path.

predict(x_pred)

Make a prediction with the model.

predict_proba(X)

Predict class probabilities for X.

prepare_dataset(dataset[, is_fit])

Apply the model transformations to the dataset.

prepare_output(dataset[, is_fit])

Prepare output targets using Label encoding.

save(filename)

Save the model in the specified path.

score(X, y[, sample_weight])

Return accuracy on provided data and labels.

set_fit_request(*[, X_val, sample_weight, ...])

Configure whether metadata should be requested to be passed to the fit method.

set_params(**params)

Set the parameters of this estimator.

set_predict_request(*[, x_pred])

Configure whether metadata should be requested to be passed to the predict method.

set_score_request(*[, sample_weight])

Configure whether metadata should be requested to be passed to the score method.

staged_decision_function(X)

Compute decision function of X for each iteration.

staged_predict(X)

Predict classes at each iteration.

staged_predict_proba(X)

Predict class probabilities at each iteration.

train(x_train, y_train[, x_validation, ...])

Train the model with the provided data.

validate_and_transform(raw_data)

It takes the data given by the user to initialize the model and returns it with all the objects that the model needs to work.

Attributes

CATEGORICAL_ENCODING

COLOR

COMPATIBLE_COMPONENTS

DESCRIPTION

DISPLAY_NAME

ICON

TYPE

n_iter_

Number of iterations of the boosting process.