predict.sda(sparseLDA)
predict.sda()所属R语言包:sparseLDA
Predict method for Sparse Discriminant Methods
稀疏的判别方法预测方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Prediction functions for link{sda} and link{smda}.
link{sda}和link{smda}的预测功能。
用法----------Usage----------
## S3 method for class 'sda'
predict(object, newdata = NULL, ...)
## S3 method for class 'smda'
predict(object, newdata = NULL, ...)
参数----------Arguments----------
参数:object
an object of class link{sda} or link{smda}
对象类link{sda}或link{smda},
参数:newdata
a matrix or data frame of predictors
矩阵或数据框的预测
参数:...
arguments passed to link[MASS]{predict.lda}
参数传递给link[MASS]{predict.lda}
Details
详细信息----------Details----------
The current implementation for mixture discriminant models current predicts the subclass probabilities.
混合判别模型当前预测,目前的实现子类的概率。
值----------Value----------
A list with components:
组件列表:
参数:class
The classification (a factor)
分类(的因素)
参数:posterior
posterior probabilities for the classes (or subclasses for link{smda})
类(或子类的后验概率为link{smda})
参数:x
the scores
分数
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|