Description Usage Arguments Value Examples
Loops through all possible splits of feature current.splitting.idx. This is just a test function which uses the ridge regression canned ridge function of MASS
1 2 | Find_ridge_best_split_linear_MASS(feat, y, linear.idx, current.splitting.idx,
lambda)
|
feat |
all features |
y |
outcome vector |
linear.idx |
feature indexes where a Ridge Regression should be fitted |
current.splitting.idx |
the index of the feature we are currently testing for splits. |
It returns a vector of two doubles which determines what the best splitting point is, and what it's MSE is.
|
the best splitting value |
|
the best MSE |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.