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

R语言 sparseLDA包 normalize()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:30:38 | 显示全部楼层 |阅读模式
normalize(sparseLDA)
normalize()所属R语言包:sparseLDA

                                        Normalize training data
                                         规范化培训资料

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

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

Normalize a vector or matrix to zero mean and unit length columns
归一化向量或矩阵的零均值和单位长度的列


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


normalize(X)



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

参数:X
a matrix with the training data with observations down the rows and variables in the columns.
与训练数据矩阵的行和列中的变量与观测值下降。


Details

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

The function can e.g. be used for the training data in sda or smda.
该功能可以如用于训练数据的SDA或SMDA的。


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

Returns a list with the following attributes:
返回一个具有以下属性的列表:


参数:Xc
The normalized data.  
规范化的数据。


参数:mx
Mean of columns of X.  
列X的均值的


参数:vx
Length of columns of X.   
X的列的长度


参数:Id
Logical vector indicating which variables are included in X.  If some of the columns have zero length they are omitted.
包括哪些变量X中的逻辑向量,表示如果一些列长度为零,他们被省略了。


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


Line Clemmensen



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

analysis", Technical report, IMM, Technical University of Denmark

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

normalizetest, sda, smda
normalizetest,sda,smda


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


## Data[#数据]
X<-matrix(sample(seq(3),12,replace=TRUE),nrow=3)

## Normalize data[#标准化数据]
Nm<-normalize(X)
print(Nm$Xc)

## See if any variables have been removed[#查看如果任何变量已被删除,]
which(!Nm$Id)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 20:38 , Processed in 0.023353 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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