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

R语言 spectralGP包 add.blocks.gp()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:51:32 | 显示全部楼层 |阅读模式
add.blocks.gp(spectralGP)
add.blocks.gp()所属R语言包:spectralGP

                                        Adds coefficient block structure to a spectral GP object
                                         将系数块结构到的光谱GP对象

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

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

Adds block structure to a GP object, allowing simulating and sampling (in an MCMC setup) from blocks of coefficients, as opposed to all the coefficients at once.  The size of the blocks will usually increase with increasing frequency as the most important coefficients are those for the low
块结构添加到一个GP对象,允许模拟和采样(在MCMC设置)从块的系数,而不是一次的所有的系数。块的大小,通常会增加随着频率的增加,作为最重要的的系数是那些为低


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


## S3 method for class 'gp':
add.blocks(object, breaks = NULL,...)



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

参数:object
A GP object, created by gp.
一个GP对象,创建的gp。


参数:breaks
An optional vector of increasing frequency values that allow for binning the coefficients based on the frequencies of the basis functions with which they are associated. The maximum value of the vector should be one half the number of gridpoints in the dimension with the largest number of gridpoints (e.g., 64, if gridsize=c(32,128)).  
一个可选的矢量增加像素合并与它们有关联的基础函数的频率的基础上的系数,允许的频率值。的最大值的向量应该是一个格点数量的一半维度中的网格点的最大数目(例如,64,,如果gridsize = C(32128))。


参数:...
Other arguments.
其他参数。


Details

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

The function sets up a block structure with blocks with increasing numbers of coefficients as the frequencies increase.  The frequency in question is the highest frequency of the (omega_1,omega_2) pair in the two-dimensional situation.  E.g., the default block structure is c(1,2,4,8,16,...), which means that the first block is the coefficients whose maximum frequency is 1, the second with maximum frequency is 2, the third with maximum frequency of 3 and 4, the fourth with maximum frequency between 5 and 8, etc.
功能设置频率的增加系数为越来越多的块的块结构。的频率中的问题是(omega_1,omega_2)对中的两维的情况下的最高频率。例如,默认的块结构是c(1,2,4,8,16,...),这意味着,第一数据块的系数的最大频率为1,第二个具有最大频率为2,第三个与3和4的最大频率,具有最大频率的四分之一在5和8之间,等


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

The function modifies the GP object, which is essentially a pointer (an R environment in this case), so NULL is returned.
函数修改的GP对象,这基本上是一个指针(在这种情况下的R环境),所以返回NULL。


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


Christopher Paciorek <a href="mailto:paciorek@alumni.cmu.edu">paciorek@alumni.cmu.edu</a>



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

<h3>See Also</h3>

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


library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
gp2=gp(c(64,64),matern.specdens,c(1,4))
add.blocks(gp1,c(1,3,7,15,31,64))
add.blocks(gp2)
propose.coeff(gp1,block=5)
plot(gp1)
propose.coeff(gp2,block=2,proposal.sd=0.1)
plot(gp2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 03:17 , Processed in 0.038927 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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