pycaret.regression.get_config#

pycaret.regression.get_config(variable: str | None = None)[source]#

This function is used to access global environment variables.

Example

>>> X_train = get_config('X_train')

This will return training features.

variablestr, default = None

Name of the variable to return the value of. If None, will return a list of possible names.

Return type:

variable