sfaStep(rSFA)
sfaStep()所属R语言包:rSFA
Update a step of the SFA algorithm.
更新的SFA算法的步骤。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
sfaStep() updates the current step of the SFA algorithm. Depending on sfaList$deg it calls either sfa1Step or sfa2Step to do the main work. See further documentation there
sfaStep()更新当前的SFA算法的步骤。取决于sfaList$deg,调用是sfa1Step或sfa2Step做的主要工作。进一步的文件有
用法----------Usage----------
sfaStep(sfaList, arg, step = NULL, method = NULL)
参数----------Arguments----------
参数:sfaList
A list that contains all information about the handled sfa-structure
一个列表,其中包含的所有信息处理国家林业局结构
参数:arg
Input data, each column a different variable
输入数据,每列一个不同的变量
参数:step
Specifies the current SFA step. Must be given in the right sequence: for SFA1 objects: "preprocessing", "sfa"<br> for SFA2 objects: "preprocessing", "expansion", "sfa" Each time a new step is invoked, the previous one is closed, which might take some time.
指定国家林业局一步。必须以正确的顺序:SFA1对象:“预处理”,“证券及期货法”<BR> SFA2对象:“预处理”,“扩容”,“证券及期货法”每次调用了一个新的台阶,前一个是封闭的,这可能需要一些时间。
参数:method
Method to be used: For sfaList$step="expansion" the choices are "TIMESERIES" or "CLASSIF". <br> For sfaList$step="sfa" (sfa2Step only) the choices are "SVDSFA" (recommended) or "GENEIG" (unstable).
方法:对于sfaList$step="expansion"的选择是“时间序列”或“CLASSIF”。 <br>对于sfaList$step="sfa"(sfa2Step)的选择是“SVDSFA”(推荐)或的“GENEIG”(不稳定的)。
值----------Value----------
list sfaList taken from the input, with new information added to this list. See sfa1Step or sfa2Step for details.
列表sfaList从输入的新信息添加到这个列表。 sfa1Step或sfa2Step的详细信息。
参见----------See Also----------
sfa1Step sfa2Step sfa1Create sfa2Create sfaExecute
sfa1Stepsfa2Stepsfa1Createsfa2CreatesfaExecute
实例----------Examples----------
## Suppose you have divided your training data into two chunks,[#假设你有你的训练数据划分成两个块,]
## DATA1 and DATA2. Let the number of input dimensions be N. To apply[#DATA1和DATA2。让数输入尺寸N.申请]
## SFA on them write:[#SFA对他们写道:]
## Not run: [#不运行:]
sfaList = sfa2Create(N,xpDim(N))
sfaList = sfaStep(sfaList, DATA1, "preprocessing")
sfaList = sfaStep(sfaList, DATA2)
sfaList = sfaStep(sfaList, DATA1, "expansion")
sfaList = sfaStep(sfaList, DATA2)
sfaList = sfaStep(sfaList, NULL, "sfa")
output1 = sfaExecute(sfaList, DATA1)
output2 = sfaExecute(sfaList, DATA2)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|