optim.thresh(SDMTools)
optim.thresh()所属R语言包:SDMTools
Estimation of Optimal Threshold Values
估计最优阈值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
optim.thresh estimates optimal threshold values given eight methods. <br> <br> Note: this method will exclude any missing data.
optim.thresh估计最优阈值的八个方法。 <br> <br>请注意:此方法将排除任何丢失的数据。
用法----------Usage----------
optim.thresh(obs,pred,threshold)
参数----------Arguments----------
参数:obs
a vector of observed values which must be 0 for absences and 1 for occurrences
必须为0缺勤和1出现的观测值的向量
参数:pred
a vector of the same length as obs representing the predicted values. Values must be between 0 & 1 representing a likelihood.
obs表示的预测值相同的长度的矢量。值必须在0和1之间的可能性。
参数:threshold
a single integer value representing the number of equal interval threshold values between 0 & 1
一个整数值表示的数量等间隔的阈值在0和1之间的值
值----------Value----------
Returns a list of the optimal thresholds for the different methods. If the list item is a single value, that is the optimal threshold but if two values are reported for the method, this represents the range in thresholds that are equal for that threshold selection method. <br> <br> The returned list includes the single or range in thresholds selected using the following methods:
返回一个列表,为不同的方法的最佳阈值。如果该列表项是一个单一的值,这是最佳的阈值,但如果两个值中报告的方法,这表示的范围内的阈值,该阈值选择方法是相等的。参考参考返回的列表包括单人或阈值范围内选择使用下面的方法:
参数:min.occurence.prediction
is the minimum prediction for the occurrence (presence) records
是的发生(存在)记录的最低预测
参数:mean.occurence.prediction
is the mean prediction for the occurrence (presence) records
是的发生(存在)的平均预测记录
参数:'10.percent.omission'
is the threshold value or range in values that excludes approx. 10 percent of the occurrence records
是阈值或范围的值中不包括约。 10%的发生记录
参数:'sensitivity=specificity'
is the threshold value or range in values where sensitivity is equal to sensitivity
是阈值或范围中的值,其中灵敏度是等于灵敏度
参数:'max.sensitivity+specificity'
is the threshold value or range in values that maximizes sensitivity plus specificity
是阈值或值的范围内,最大限度地提高灵敏度,加上特异性
参数:maxKappa
is the threshold value or range in values with the maximum Kappa statistic
是阈值或范围中的最大Kappa统计值与
参数:max.prop.correct
is the threshold value or range in values with the maximum proportion of presence and absence records correctly identified
是在最高比例的存在和不存在正确标识的记录的值与阈值或范围
参数:min.ROC.plot.distance
is the threshold value or range in values where the ROC curve is closest to point (0,1) (or perfect fit)
是阈值或范围中值,其中最接近的ROC曲线的点(0,1)(或完美契合)
(作者)----------Author(s)----------
Jeremy VanDerWal <a href="mailto:jjvanderwal@gmail.com">jjvanderwal@gmail.com</a>
参见----------See Also----------
accuracy, auc, Kappa, omission, sensitivity, specificity, prop.correct, confusion.matrix
accuracy,auc,Kappa,omission,sensitivity,specificity,prop.correct,confusion.matrix
实例----------Examples----------
#create some data[创建一些数据]
obs = c(sample(c(0,1),20,replace=TRUE),NA); obs = obs[order(obs)]
pred = runif(length(obs),0,1); pred = pred[order(pred)]
#calculate the optimal thresholds[计算的最佳的阈值]
optim.thresh(obs,pred)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|