RidgeTrainer#
- class brainpy.RidgeTrainer(target, alpha=1e-07, **kwargs)[source]#
Trainer of ridge regression, also known as regression with Tikhonov regularization.
For more parameters, users should refer to
DSRunner
.- Parameters:
target (TrainingSystem, DynamicalSystem) – The target model.
alpha (float) – The regularization coefficient.