类 TreePerformanceStats
java.lang.Object
weka.core.neighboursearch.PerformanceStats
weka.core.neighboursearch.TreePerformanceStats
- 所有已实现的接口:
Serializable
,AdditionalMeasureProducer
,RevisionHandler
The class that measures the performance of a tree based
nearest neighbour search algorithm.
- 版本:
- $Revision: 1.2 $
- 作者:
- Ashraf M. Kibriya (amk14[at-the-rate]cs[dot]waikato[dot]ac[dot]nz)
- 另请参阅:
-
字段概要
从类继承的字段 weka.core.neighboursearch.PerformanceStats
m_CoordCount, m_MaxC, m_MaxP, m_MinC, m_MinP, m_PointCount, m_SumC, m_SumP, m_SumSqC, m_SumSqP
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns an enumeration of the additional measure names.int
returns the maximum of internal nodes visited.int
Returns the maximum number of leaves visited.double
Returns the mean of internal nodes visited.double
Returns the mean of number of leaves visited.double
getMeasure
(String additionalMeasureName) Returns the value of the named measure.int
Returns the minimum of internal nodes visited.int
Returns the minimum number of leaves visited.Returns the revision string.getStats()
Returns a string representation of the statistics.double
Returns the standard deviation of internal nodes visited.double
Returns the standard deviation of leaves visited.int
Returns the total number of internal nodes visited.int
Returns the total number of leaves visited.void
Increments the internal node count.void
Increments the leaf count.void
reset()
Resets all internal fields/counters.void
Signals end of the nearest neighbour search.void
Signals start of the nearest neighbour search.从类继承的方法 weka.core.neighboursearch.PerformanceStats
getMaxCoordsPerPoint, getMaxPointsVisited, getMeanCoordsPerPoint, getMeanPointsVisited, getMinCoordsPerPoint, getMinPointsVisited, getNumQueries, getStdDevCoordsPerPoint, getStdDevPointsVisited, getTotalCoordsPerPoint, getTotalPointsVisited, incrCoordCount, incrPointCount, updatePointCount
-
构造器详细资料
-
TreePerformanceStats
public TreePerformanceStats()Default constructor.
-
-
方法详细资料
-
reset
public void reset()Resets all internal fields/counters.- 覆盖:
reset
在类中PerformanceStats
-
searchStart
public void searchStart()Signals start of the nearest neighbour search. Initializes the stats object.- 覆盖:
searchStart
在类中PerformanceStats
-
searchFinish
public void searchFinish()Signals end of the nearest neighbour search. Calculates the statistics for the search.- 覆盖:
searchFinish
在类中PerformanceStats
-
incrLeafCount
public void incrLeafCount()Increments the leaf count. -
incrIntNodeCount
public void incrIntNodeCount()Increments the internal node count. -
getTotalLeavesVisited
public int getTotalLeavesVisited()Returns the total number of leaves visited.- 返回:
- The total number.
-
getMeanLeavesVisited
public double getMeanLeavesVisited()Returns the mean of number of leaves visited.- 返回:
- The mean number of leaves visited.
-
getStdDevLeavesVisited
public double getStdDevLeavesVisited()Returns the standard deviation of leaves visited.- 返回:
- The standard deviation of leaves visited.
-
getMinLeavesVisited
public int getMinLeavesVisited()Returns the minimum number of leaves visited.- 返回:
- The minimum number of leaves visited.
-
getMaxLeavesVisited
public int getMaxLeavesVisited()Returns the maximum number of leaves visited.- 返回:
- The maximum number of leaves visited.
-
getTotalIntNodesVisited
public int getTotalIntNodesVisited()Returns the total number of internal nodes visited.- 返回:
- The total number of internal nodes visited.
-
getMeanIntNodesVisited
public double getMeanIntNodesVisited()Returns the mean of internal nodes visited.- 返回:
- The mean number of internal nodes visited.
-
getStdDevIntNodesVisited
public double getStdDevIntNodesVisited()Returns the standard deviation of internal nodes visited.- 返回:
- The standard deviation of internal nodes visited.
-
getMinIntNodesVisited
public int getMinIntNodesVisited()Returns the minimum of internal nodes visited.- 返回:
- The minimum of internal nodes visited.
-
getMaxIntNodesVisited
public int getMaxIntNodesVisited()returns the maximum of internal nodes visited.- 返回:
- The maximum of internal nodes visited.
-
enumerateMeasures
Returns an enumeration of the additional measure names.- 指定者:
enumerateMeasures
在接口中AdditionalMeasureProducer
- 覆盖:
enumerateMeasures
在类中PerformanceStats
- 返回:
- An enumeration of the measure names.
-
getMeasure
Returns the value of the named measure.- 指定者:
getMeasure
在接口中AdditionalMeasureProducer
- 覆盖:
getMeasure
在类中PerformanceStats
- 参数:
additionalMeasureName
- The name of the measure to query for its value.- 返回:
- The value of the named measure.
- 抛出:
IllegalArgumentException
- If the named measure is not supported.
-
getStats
Returns a string representation of the statistics.- 覆盖:
getStats
在类中PerformanceStats
- 返回:
- The statistics as string.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中PerformanceStats
- 返回:
- the revision
-