Description Usage Arguments Value Examples
This is the fast impelementation of the best split function when the leaf prediciton is coming from ridge regression.
1 | Find_ridge_best_split_slow(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.