get.w(treethresh)
get.w()所属R语言包:treethresh
Extract estimated weights
提取估计权重
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts from a tree object of the classes treethresh or wtthresh the estimated value of the weight w for each data point.
树提取物的类的对象treethresh或wtthresh的估计值的权重w每个数据点。
用法----------Usage----------
get.w(object, C)
get.w.treethresh(object, C)
get.w.wtthresh(object, C)
参数----------Arguments----------
参数:object
An object of the class treethresh or wtthresh from which the weights are to be extracted.
一个对象的类treethresh或wtthresh的权重都以被提取。
参数:C
If C is given then the tree is pruned with constant C (see the help of prune for details on the pruning).
如果C树的修剪与不变C(prune修剪的详细信息,请参阅帮助)。
值----------Value----------
get.w returns an estimated value of the weight w for each data point used to estimate object. If object is of the class treethresh, then get.w returns an array (or matrix) of exactly the same dimension as the data that was used to estimate object. If object is of the class wtthresh then it returns a list with elements of the same name and dimensions as the list that was used to estimate object.
get.w返回一个估计值的权重w每个数据点的估计object。 object如果之类的treethresh,那么get.w返回一个数组(或矩阵)完全相同的尺寸的数据被用来估计object。 object如果之类的wtthresh然后它返回一个列表的元素相同的名称和尺寸的列表中被用来估计object。
注意----------Note----------
get.w.treethresh and get.w.wtthresh should rarely be directly called by the user. The more user-friendly S3 function get.w will take care of calling the right function.
get.w.treethresh和get.w.wtthresh应该很少由用户直接调用。更加人性化的S3功能get.w会照顾调用正确的函数。
参见----------See Also----------
treethresh, wtthresh, get.t, prune
treethresh,wtthresh,get.t,prune
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|