plot.sparsenet(sparsenet)
plot.sparsenet()所属R语言包:sparsenet
plot coefficients from a "sparsenet" object
图系数从“sparsenet”对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Produces a series of coefficient profile plots of the coefficient paths for a fitted "sparsenet" object.
一个合身的的"sparsenet"对象产生了一系列的系数路径系数分布图。
用法----------Usage----------
## S3 method for class 'sparsenet'
plot(x, xvar = c("rsq","lambda","norm"), which.gamma=NULL, label = FALSE,...)
参数----------Arguments----------
参数:x
fitted "sparsenet" model
装"sparsenet"模型
参数:xvar
What is on the X-axis. "rsq" plots against the percent variance explained on the training data, "lambda" against the log-lambda sequence, and "norm" plots against the L1-norm of the coefficients
这是在X-轴上。 "rsq"图的百分比差异解释的训练数据,"lambda"对log-λ序列,和"norm"图的L1范数的系数
参数:which.gamma
sequence numbers of gamma values to be used in the plots; default is all used in the fit
gamma的田块要使用的值;默认的序列号都用在合适
参数:label
If TRUE, label the curves with variable sequence numbers.
如果TRUE,与变量序列号标记的曲线。
参数:...
Other graphical parameters to plot
其他绘制的图形参数
Details
详细信息----------Details----------
A series of coefficient profile plots is produced, one for each gamma specified. Users should set up the appropriate layout.
系数更新小区A系列生产,一个用于每个gamma指定。用户应该设置适当的布局。
(作者)----------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)
fit=sparsenet(x,y)
par(mfrow=c(3,3))
plot(fit)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|