void RidgeOptimalk(TVec y, TMtx A, ref Double k)
Optimal k value for ridge regression.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | y | TVec | source TVec |
| 2 | A | TMtx | source TMtx |
| 3 | k | Double (ref) | output |
Result: stored in self (calling object)
Remarks:
Finds optimal k value for ridge regression, such that k minimizes ridge model MSE.
See Also: Regress.RidgeRegress