Description Usage Arguments Value Author(s) References See Also Examples
A function to perform prediction, using an x matrix and the output of the "hierNet.path" or "hiernet.logistic.path" functions.
1 2 |
object |
The results of a call to the "hierNet" or "hierNet.path" or function. The coefficients that are part of this object will be used for making predictions. |
newx |
The new x at which predictions should be made. Can be a vector or a matrix (one obseration per row). |
newzz |
Optional matrix of products of columns of newx, computed by compute.interactions.c |
... |
additional arguments (not currently used) |
yhat |
Matrix of predictions, one row per observation. For logistic model, these are the estimated probabilities. |
Jacob Bien and Robert Tibshirani
Bien, J., Taylor, J., Tibshirani, R., (2013) "A Lasso for Hierarchical Interactions." Annals of Statistics. 41(3). 1111-1141.
hierNet, hierNet.path
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.