(lgbm_params: Dict[str, Any])
Handling alias parameters.
Handling alias parameters.
Handling alias parameters .
def _handling_alias_parameters(lgbm_params: Dict[str, Any]) -> None:
    """Handling alias parameters."""

    for alias_group in _ALIAS_GROUP_LIST:
        param_name = alias_group["param_name"]
        alias_names = alias_group["alias_names"]

        for alias_name in alias_names:
            if alias_name in lgbm_params:
                lgbm_params[param_name] = lgbm_params[alias_name]
                del lgbm_params[alias_name]
def _handling_alias_parameters ( lgbm_params : Dict [ str , Any ] ) -> None : for alias_group in _ALIAS_GROUP_LIST : param_name = alias_group [ "param_name" ] alias_names = alias_group [ "alias_names" ] for alias_name in alias_names : if alias_name in lgbm_params : lgbm_params [ param_name ] = lgbm_params [ alias_name ] del lgbm_params [ alias_name ]