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

R语言 iterativeBMA包 brier.score()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 22:45:55 | 显示全部楼层 |阅读模式
brier.score(iterativeBMA)
brier.score()所属R语言包:iterativeBMA

                                        Brier Score: assessment of prediction accuracy
                                         野蔷薇得分:评估预测的准确性

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

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

The Brier Score is a probabilistic number of errors that takes the predicted probabilities into consideration. A small Brier Score indicates high prediction accuracy. This function assumes
马库斯 - 布莱尔分数是一个错误的概率,考虑到预测的概率。一个小马库斯 - 布莱尔分数表明预测精度较高。这个函数假设


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


brier.score (predictedArr, truthArr)



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

参数:predictedArr
a vector consisting of the predicted probabilities that the test sample belongs to class 1.
矢量预测的概率测试样本属于第1类组成。


参数:truthArr
a zero-one vector indicating the known class labels of the test samples. We assume this vector has the same length as predictedArr.
零一个向量,表示测试样品的类标签。我们假设本向量predictedArr的长度相同。


Details

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

The Brier Score computes the sum of squares of the differences  between the true class and the predicted probability over all  test samples. If the predicted probabilities are constrained  to equal to 0 or 1, the Brier Score is equal to the total
马库斯 - 布莱尔分数计算真正的类,并通过所有测试样本的预测概率之间的差异的平方的总和。如果预测的概率约束等于0或1,马库斯 - 布莱尔分数等于总


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

A non-negative real number.
一个非负实数。


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

Verification of forecasts expressed in terms of probability. Monthly Weather Review 78: 1-3.
Bayesian Model Averaging: Development of an improved multi-class, gene selection and classification tool for microarray data.  Bioinformatics 21: 2394-2402.

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

bma.predict, iterateBMAglm.train.predict
bma.predict,iterateBMAglm.train.predict


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


library (Biobase)
library (BMA)
library (iterativeBMA)
data(trainData)
data(trainClass)
data (testData)

ret.vec <- iterateBMAglm.train.predict (train.expr.set=trainData, test.expr.set=testData, trainClass, p=100)

## compute the Brier Score[#计算马库斯 - 布莱尔分数]
data (testClass)
brier.score (ret.vec, testClass)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 10:36 , Processed in 0.034386 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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