找回密码
 注册
查看: 349|回复: 0

R语言 sparsenet包 predict.cv.sparsenet()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:34:36 | 显示全部楼层 |阅读模式
predict.cv.sparsenet(sparsenet)
predict.cv.sparsenet()所属R语言包:sparsenet

                                        make predictions from a "cv.sparsenet" object.
                                         作出预测从的“cv.sparsenet”对象。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function makes predictions from a cross-validated sparsenet model, using the stored "sparsenet.fit" object, and the optimal value chosen for lambda.
此功能从一个交叉验证sparsenet的模型进行预测,使用的存储"sparsenet.fit"对象,并选择lambda的最佳值。


用法----------Usage----------


## S3 method for class 'cv.sparsenet'
predict(object, newx, which=c("parms.min","parms.1se"),...)
## S3 method for class 'cv.sparsenet'
coef(object, which=c("parms.min","parms.1se"),...)



参数----------Arguments----------

参数:object
Fitted "cv.sparsenet"  object.
配"cv.sparsenet"对象的。


参数:newx
Matrix of new values for x at which predictions are to be made. Must be a matrix. See documentation for predict.sparsenet.
矩阵x的预测是进行新的价值。必须是一个矩阵。请参阅文档predict.sparsenet。


参数:which
Either the paramaters of the minimum of the CV curves (default "parms.min" or the parameters corresponding to the one standard-error rule parms.1se)
无论是paramaters最低的CV曲线(默认"parms.min"或参数对应的一个标准错误规则parms.1se)


参数:...
Not used. Other arguments to predict.  
未使用。其他参数预测。


Details

详细信息----------Details----------

This function makes it easier to use the results of
此功能使得它更容易使用的结果


值----------Value----------

The object returned depends the ... argument which is passed on
返回的对象取决于...参数,它是通过


(作者)----------Author(s)----------



Rahul Mazumder, Jerome Friedman and Trevor Hastie

Maintainer: Trevor Hastie <hastie@stanford.edu>




参考文献----------References----------



参见----------See Also----------

glmnet package, sparsenet,  cv.sparsenet  and
glmnet包,sparsenet,cv.sparsenet和


实例----------Examples----------


x=matrix(rnorm(100*20),100,20)
y=rnorm(100)
fitcv=cv.sparsenet(x,y)
predict(fitcv,x)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 05:12 , Processed in 0.019469 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表