@classmethod<EOL><INDENT>def apply_hyperparameter_renames(cls, hyperparameters):<DEDENT>
for (from_name, to_name) in cls.hyperparameter_renames.items():<EOL><INDENT>if from_name in hyperparameters:<EOL><INDENT>value = hyperparameters.pop(from_name)<EOL>if to_name:<EOL><INDENT>hyperparameters[to_name] = value<EOL><DEDENT><DEDENT><DEDENT>return hyperparameters<EOL>
Handle hyperparameter renames.

Parameters
----------
hyperparameters : dict

Returns
-------
dict : updated hyperparameters