RidgeRegression Module

Functions and values

Function or value Description

fit lambda xData yData

Full Usage: fit lambda xData yData

Parameters:
Returns: Coefficients
lambda : Matrix<float>
xData : Matrix<float>
yData : Vector<float>
Returns: Coefficients

predict coef x

Full Usage: predict coef x

Parameters:
Returns: float

Fit to x

coef : Coefficients

x : Vector<float>

Returns: float

Example