make predictions from a "gcdnet" object.
Description
Similar to other predict methods, this functions predicts fitted values and class labels from a fitted gcdnet
object.
Usage
1 2 3 
Arguments
object 
fitted 
newx 
matrix of new values for 
s 
value(s) of the penalty parameter 
type 
type of prediction required.

... 
Not used. Other arguments to predict. 
Details
s
is the new vector at which predictions are requested. If s
is not in the lambda sequence used for fitting the model, the predict
function will use linear interpolation to make predictions. The new values are interpolated using a fraction of predicted values from both left and right lambda
indices.
Value
The object returned depends on type.
Author(s)
Yi Yang and Hui Zou
Maintainer: Yi Yang <yiyang@umn.edu>
References
Yang, Y. and Zou, H. (2012), "An Efficient Algorithm for Computing The HHSVM and Its Generalizations," Journal of Computational and Graphical Statistics, 22, 396415.
BugReport: http://code.google.com/p/gcdnet/
Friedman, J., Hastie, T., and Tibshirani, R. (2010), "Regularization paths for generalized
linear models via coordinate descent," Journal of Statistical Software, 33, 1.
http://www.jstatsoft.org/v33/i01/
See Also
coef
method
Examples
1 2 3 