Description Usage Arguments Details Value Author(s) References See Also Examples
This function predicts the class labels of new observations by the sparse DWD at the lambda
values suggested by cv.sdwd
.
1 2 |
object |
A fitted |
newx |
A matrix of new values for |
s |
Value(s) of the L1 tuning parameter |
... |
Not used. Other arguments to |
This function uses the cross-validation results to making predictions. This function is modified based on the predict.cv
function from the glmnet
and the gcdnet
packages.
Predicted class labels or fitted values, depending on the choice of s
and the ... argument passed on to the sdwd
method.
Boxiang Wang and Hui Zou
Maintainer: Boxiang Wang boxiang-wang@uiowa.edu
Wang, B. and Zou, H. (2016)
“Sparse Distance Weighted Discrimination", Journal of Computational and Graphical Statistics, 25(3), 826–838.
https://www.tandfonline.com/doi/full/10.1080/10618600.2015.1049700
Yang, Y. and Zou, H. (2013)
“An Efficient Algorithm for Computing the HHSVM and Its Generalizations",
Journal of Computational and Graphical Statistics, 22(2), 396–415.
https://www.tandfonline.com/doi/full/10.1080/10618600.2012.680324
Friedman, J., Hastie, T., and Tibshirani, R. (2010), "Regularization paths for generalized
linear models via coordinate descent," Journal of Statistical Software, 33(1), 1–22.
https://www.jstatsoft.org/v33/i01/paper
cv.sdwd
, and coef.cv.sdwd
methods.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.