With minor updates, you can get the equation of a ridge regression, as follows: as.matrix(coef(ridge$finalModel, ridge$bestTune$lambda)) ...
確定! 回上一頁