'Update parameters with given gradients
Parameters
grads : list, length = len(params)
Containing gradients with respect to coefs_ and intercepts_ in MLP
model. So length should be aligned with params'

def update_params(self, grads):

    updates = self._get_updates(grads)
    for (param, update) in zip(self.params, updates):
        param += update
