choose_best_lambda: Choose best lambda by cross-validation

Description Usage Arguments Value

View source: R/method_scoresystem.R

Description

Choose best lambda by cross-validation

Usage

1
choose_best_lambda(lambdas, X)

Arguments

lambdas

Numeric vector of lambda to test.

X

Matrix to pseudo orthogonalize of size m*(n+m).

Value

The best lambda, which minimize RMSE prediction


abichat/zazou documentation built on Sept. 8, 2021, 6:53 a.m.