def METHOD_NAME(self, **kwargs):
    """
    Set model hyperparameters
    :param **kwargs: a dictionary of in the form {hyperparameter name: value}
    """
    for key, value in kwargs.items():
        self.hyperparameters[key] = value