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

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

[复制链接]
发表于 2012-2-26 10:52:10 | 显示全部楼层 |阅读模式
predict.pcaRes(pcaMethods)
predict.pcaRes()所属R语言包:pcaMethods

                                        Predict values from PCA.
                                         从PCA的预测值。

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

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

Predict data using PCA model
使用PCA模型预测数据


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





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

参数:object
pcaRes the pcaRes object of interest.
pcaRespcaRes感兴趣的对象。“


参数:newdata
matrix new data with same number of columns as the used to compute object.
matrix作为用于计算object列相同数量的新数据。


参数:pcs
numeric The number of PC's to consider
numericPC机的数量是考虑


参数:pre
pre-process newdata based on the pre-processing chosen for the PCA model
前处理newdata基于PCA模型选择的预先处理


参数:post
unpre-process the final data (add the center back etc)
unpre进程的最终数据(添加中心回等)


参数:...
Not passed on anywhere, included for S3 consistency. </table>
没有通过任何地方,包括S3的一致性。 </ TABLE>


Details

详情----------Details----------

This function extracts the predict values from a pcaRes object for the PCA methods SVD, Nipals, PPCA and BPCA.  Newdata is first centered if the PCA model was and then scores (T) and data (X) is 'predicted' according to : That=XnewP Xhat=ThatP'.  Missing values are set to zero before matrix multiplication to achieve NIPALS like
这个函数提取的预测值从PCA的方法奇异值分解,Nipals,申诉机关和BPCA pcaRes对象。 newdata首先是中心,如果PCA模型,然后分数(T)和数据(X)是“预言”:That=XnewPXhat=ThatP'。遗漏值设置为零之前,矩阵乘法来实现像NIPALS


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

A list with the following components:
以下组件列表:


参数:scores
The predicted scores  <tr valign="top"><td>x</td>
预测分数<tr valign="top"> <TD>x</ TD>

The predicted data </table>
预测数据</ TABLE>


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


Henning Redestig



举例----------Examples----------


hidden <- sample(nrow(iris), 50)
pcIr <- pca(iris[-hidden,1:4])
pcFull <- pca(iris[,1:4])
irisHat <- predict(pcIr, iris[hidden,1:4])

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-1 21:00 , Processed in 0.026684 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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