Fit XGBRegressorΒΆ

Implementation of the scikit-learn API for XGBoost regression.

Parameters

Regressor [string]

Scikit-learn python code. See XGBRegressor for information on different parameters.

Default:

from xgboost import XGBRegressor

regressor = XGBRegressor(n_estimators=100)
Training dataset [file]
Training dataset pickle file used for fitting the classifier. If not specified, an unfitted classifier is created.

Outputs

Output regressor [fileDestination]
Pickle file destination.

Command-line usage

>qgis_process help enmapbox:FitXgbregressor:

----------------
Arguments
----------------

regressor: Regressor
    Default value:  from xgboost import XGBRegressor

regressor = XGBRegressor(n_estimators=100)
    Argument type:  string
    Acceptable values:
            - String value
dataset: Training dataset (optional)
    Argument type:  file
    Acceptable values:
            - Path to a file
outputRegressor: Output regressor
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file

----------------
Outputs
----------------

outputRegressor: <outputFile>
    Output regressor