类 ReferenceInstances
java.lang.Object
weka.core.Instances
weka.classifiers.trees.adtree.ReferenceInstances
- 所有已实现的接口:
Serializable
,RevisionHandler
Simple class that extends the Instances class making it possible to create
subsets of instances that reference their source set. Is used by ADTree to
make reweighting of instances easy to manage.
- 版本:
- $Revision: 1.5 $
- 作者:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- 另请参阅:
-
字段概要
从类继承的字段 weka.core.Instances
ARFF_DATA, ARFF_RELATION, FILE_EXTENSION, SERIALIZED_OBJ_FILE_EXTENSION
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final void
addReference
(Instance instance) Adds one instance reference to the end of the set.Returns the revision string.从类继承的方法 weka.core.Instances
add, attribute, attribute, attributeStats, attributeToDoubleArray, checkForAttributeType, checkForStringAttributes, checkInstance, classAttribute, classIndex, compactify, delete, delete, deleteAttributeAt, deleteAttributeType, deleteStringAttributes, deleteWithMissing, deleteWithMissing, deleteWithMissingClass, enumerateAttributes, enumerateInstances, equalHeaders, firstInstance, getRandomNumberGenerator, insertAttributeAt, instance, kthSmallestValue, kthSmallestValue, lastInstance, main, meanOrMode, meanOrMode, mergeInstances, numAttributes, numClasses, numDistinctValues, numDistinctValues, numInstances, randomize, readInstance, relationName, renameAttribute, renameAttribute, renameAttributeValue, renameAttributeValue, resample, resampleWithWeights, resampleWithWeights, resampleWithWeights, resampleWithWeights, setClass, setClassIndex, setRelationName, sort, sort, stratify, stringFreeStructure, sumOfWeights, swap, test, testCV, toString, toSummaryString, trainCV, trainCV, variance, variance
-
构造器详细资料
-
ReferenceInstances
Creates an empty set of instances.- 参数:
dataset
- the instances to get the header information fromcapacity
- the initial storage capacity of the set
-
-
方法详细资料
-
addReference
Adds one instance reference to the end of the set. Does not copy instance before it is added. Increases the size of the dataset if it is not large enough. Does not check if the instance is compatible with the dataset.- 参数:
instance
- the instance to be added
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Instances
- 返回:
- the revision
-