|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.results.Result
de.jstacs.classifier.AbstractScoreBasedClassifier.DoubleTableResult
public static class AbstractScoreBasedClassifier.DoubleTableResult
This class is for a table of doubles.
Result| Field Summary |
|---|
| Fields inherited from class de.jstacs.results.Result |
|---|
comment, datatype, name |
| Constructor Summary | |
|---|---|
AbstractScoreBasedClassifier.DoubleTableResult(StringBuffer representation)
This is the constructor for Storable. |
|
| Method Summary | |
|---|---|
protected void |
fromXML(StringBuffer representation)
This method is used in Result.Result(StringBuffer) to extract the information. |
double[] |
getLine(int index)
Return the line with index index from the table. |
int |
getNumberOfLines()
Returns the number of lines in this table. |
static StringBuffer |
getPlotCommands(REnvironment e,
String plotOptions,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
This method copies the data to the server side and creates a StringBuffer containing the plot commands. |
double[][] |
getResult()
Returns the value of the result. |
static ImageResult |
plot(REnvironment e,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
This method plots an array of DoubleTableResult in one image |
String |
toString()
|
StringBuffer |
toXML()
This method returns an XML-representation of an instance of the implementing class. |
| Methods inherited from class de.jstacs.results.Result |
|---|
appendMainInfo, checkDatatype, createResult, extractMainInfo, getComment, getDatatype, getName, isCastableResult, isComparableResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractScoreBasedClassifier.DoubleTableResult(StringBuffer representation)
throws NonParsableException
Storable.
representation - the xml representation
NonParsableException - if the representation could not be parsed.| Method Detail |
|---|
protected void fromXML(StringBuffer representation)
throws NonParsableException
ResultResult.Result(StringBuffer) to extract the information.
The method can be seen as opposite of Storable.toXML() and should not be made public.
fromXML in class Resultrepresentation - a xml represenation
NonParsableException - if the xml representation is not parsableResult.extractMainInfo(StringBuffer)public double[] getLine(int index)
index from the table.
index - the index
indexpublic int getNumberOfLines()
public String toString()
toString in class Objectpublic double[][] getResult()
Result
getResult in class Resultpublic StringBuffer toXML()
Storable
public static final ImageResult plot(REnvironment e,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
DoubleTableResult in one image
dtr - the array of resultse - the R environment
Exception
public static final StringBuffer getPlotCommands(REnvironment e,
String plotOptions,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
dtr - the array of resultse - the R environmentplotOptions - Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||