treeDivide.BW | R Documentation |
Create a Bouchard-Warin equi-probable grid of regression sub-domains
treeDivide.BW(grid, curDim, model, test.paths)
grid |
dataset of x-values |
curDim |
dimension of the grid |
model |
a list containing all model parameters. In particular must have
|
test.paths |
testing paths to predict along as well |
Recursively sort along each of the d-coordinates
At the end do local linear regression at each leaf
This is a recursive algorithm!
first column is reserved for the y-coordinate (timingValue)
It's safest if nrows(grid) is divisible by model$nBinsmodel$dim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.