类 RemoteResult
java.lang.Object
weka.gui.boundaryvisualizer.RemoteResult
- 所有已实现的接口:
Serializable
Class that encapsulates a result (and progress info) for part
of a distributed boundary visualization. The result of a sub-task
is the probabilities necessary to display one row of the final
visualization.
- 从以下版本开始:
- 1.0
- 版本:
- $Revision: 1.3 $
- 作者:
- Mark Hall
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
Return the progress for this rowdouble[][]
Return the probability distributions for this row in the visualizationvoid
setLocationProbs
(int index, double[] distribution) Store the classifier's distribution for a particular pixel in the visualizationvoid
setPercentCompleted
(int pc) Set the progress for this row so far
-
构造器详细资料
-
RemoteResult
public RemoteResult(int rowNum, int rowLength) Creates a newRemoteResult
instance.- 参数:
rowNum
- the row numberrowLength
- the number of pixels in the row
-
-
方法详细资料
-
setLocationProbs
public void setLocationProbs(int index, double[] distribution) Store the classifier's distribution for a particular pixel in the visualization- 参数:
index
- the pixeldistribution
- the probability distribution from the classifier
-
getProbabilities
public double[][] getProbabilities()Return the probability distributions for this row in the visualization- 返回:
- the probability distributions
-
setPercentCompleted
public void setPercentCompleted(int pc) Set the progress for this row so far- 参数:
pc
- a percent completed value
-
getPercentCompleted
public int getPercentCompleted()Return the progress for this row- 返回:
- a percent completed value
-