|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.gui.boundaryvisualizer.RemoteBoundaryVisualizerSubTask
public class RemoteBoundaryVisualizerSubTask
Class that encapsulates a sub task for distributed boundary visualization. Produces probability distributions for each pixel in one row of the visualization.
Task,
Serialized Form| Constructor Summary | |
|---|---|
RemoteBoundaryVisualizerSubTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
Perform the sub task |
TaskStatusInfo |
getTaskStatus()
Return status information for this sub task |
void |
setClassifier(Classifier dc)
Set the classifier to use |
void |
setDataGenerator(DataGenerator dg)
Set the density estimator to use |
void |
setGeneratorSamplesBase(double ksb)
Set the base for computing the number of samples to obtain from each generator. |
void |
setInstances(Instances i)
Set the training data |
void |
setMinMaxX(double minx,
double maxx)
Set the minimum and maximum values of the x axis fixed dimension |
void |
setMinMaxY(double miny,
double maxy)
Set the minimum and maximum values of the y axis fixed dimension |
void |
setNumSamplesPerRegion(int num)
Set the number of points to uniformly sample from a region (fixed dimensions). |
void |
setPanelHeight(int ph)
Set the height of the visualization |
void |
setPanelWidth(int pw)
Set the width of the visualization |
void |
setPixHeight(double ph)
Set the height of a pixel |
void |
setPixWidth(double pw)
Set the width of a pixel |
void |
setRowNumber(int rn)
Set the row number for this sub task |
void |
setXAttribute(int xatt)
Set the x axis fixed dimension |
void |
setYAttribute(int yatt)
Set the y axis fixed dimension |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteBoundaryVisualizerSubTask()
| Method Detail |
|---|
public void setRowNumber(int rn)
rn - the row numberpublic void setPanelWidth(int pw)
pw - the widthpublic void setPanelHeight(int ph)
ph - the heightpublic void setPixHeight(double ph)
ph - the height of a pixelpublic void setPixWidth(double pw)
pw - the width of a pixelpublic void setClassifier(Classifier dc)
dc - the classifierpublic void setDataGenerator(DataGenerator dg)
dg - the density estimatorpublic void setInstances(Instances i)
i - the training data
public void setMinMaxX(double minx,
double maxx)
minx - a double valuemaxx - a double value
public void setMinMaxY(double miny,
double maxy)
miny - a double valuemaxy - a double valuepublic void setXAttribute(int xatt)
xatt - an int valuepublic void setYAttribute(int yatt)
yatt - an int valuepublic void setNumSamplesPerRegion(int num)
num - an int valuepublic void setGeneratorSamplesBase(double ksb)
ksb - a double valuepublic void execute()
execute in interface Taskpublic TaskStatusInfo getTaskStatus()
getTaskStatus in interface TaskTaskStatusInfo value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||