from evalml.pipelines import PipelineBase
[docs]class CatBoostRegressionPipeline(PipelineBase):
"""
CatBoost Pipeline for regression problems.
CatBoost is an open-source library and natively supports categorical features.
For more information, check out https://catboost.ai/
Note: impute_strategy must support both string and numeric data
"""
component_graph = ['Simple Imputer', 'CatBoost Regressor']
supported_problem_types = ['regression']
custom_hyperparameters = {
"impute_strategy": ["most_frequent"],
}
[docs] def __init__(self, parameters, objective, random_state=0):
super().__init__(parameters=parameters,
objective=objective,
random_state=random_state)