cmip6_downscaling.methods.gard.utils.get_gard_model

Contents

cmip6_downscaling.methods.gard.utils.get_gard_model#

cmip6_downscaling.methods.gard.utils.get_gard_model(model_type: str, model_params: dict[str, Any]) AnalogRegression | PureAnalog | PureRegression[source]#

Based on input, return the corresponding GARD model instance

Parameters:
model_typestr

Name of the GARD model type to be used, should be one of AnalogRegression, PureAnalog, or PureRegression

model_paramsDict

Model parameter dictionary

Returns:
modelAnalogRegression, PureAnalog, or PureRegression model instance

skdownscale GARD model instance