Validation curves: training/validation error vs. one hyperparameter
Intermediate classical-mlevaluationmodel-complexity
Implement:
def validation_curve(fit_and_evaluate_fn, param_values) -> tuple[np.ndarray, np.ndarray]:
"""fit_and_evaluate_fn(param_value) -> (train_error, val_error)."""