|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.AnnotatedEntity
de.jstacs.results.Result
de.jstacs.classifiers.AbstractScoreBasedClassifier.DoubleTableResult
public static class AbstractScoreBasedClassifier.DoubleTableResult
This class is for Results given as a table of double
s.
Result| Field Summary |
|---|
| Fields inherited from class de.jstacs.AnnotatedEntity |
|---|
comment, datatype, name |
| Constructor Summary | |
|---|---|
AbstractScoreBasedClassifier.DoubleTableResult(StringBuffer representation)
The standard constructor for the interface Storable
. |
|
AbstractScoreBasedClassifier.DoubleTableResult(String name,
String comment,
AbstractList<double[]> list)
This is the default constructor that creates an instance based on the results given in list |
|
| Method Summary | |
|---|---|
protected void |
appendFurtherInfos(StringBuffer xml)
This method can be used in the method Storable.toXML() to extract
further information (name, comment, datatype). |
protected void |
extractFurtherInfos(StringBuffer xml)
This method can be used in the constructor with parameter StringBuffer to
extract the further information. |
double[] |
getLine(int index)
Return the line with a given 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. |
static StringBuffer |
getPlotCommands(REnvironment e,
String plotOptions,
int[] colors,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
This method copies the data to the server side and creates a StringBuffer containing the plot commands. |
static StringBuffer |
getPlotCommands(REnvironment e,
String plotOptions,
String[] colors,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
This method copies the data to the server side and creates a StringBuffer containing the plot commands. |
double[][] |
getValue()
Returns the value of the AnnotatedEntity. |
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description. |
static ImageResult |
plot(REnvironment e,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
This method plots an array of AbstractScoreBasedClassifier.DoubleTableResults in one
image. |
String |
toString()
|
| Methods inherited from class de.jstacs.results.Result |
|---|
checkDatatype, createResult, isCastableResult, isComparableResult |
| Methods inherited from class de.jstacs.AnnotatedEntity |
|---|
getComment, getDatatype, getName, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractScoreBasedClassifier.DoubleTableResult(String name,
String comment,
AbstractList<double[]> list)
list
name - the name of the resultcomment - the comment for the resultlist - the list of values
public AbstractScoreBasedClassifier.DoubleTableResult(StringBuffer representation)
throws NonParsableException
Storable
. Creates a new AbstractScoreBasedClassifier.DoubleTableResult out of its XML
representation.
representation - the XML representation as StringBuffer
NonParsableException - if the AbstractScoreBasedClassifier.DoubleTableResult could not be
reconstructed out of the XML representation (the
StringBuffer representation could
not be parsed)Result.Result(StringBuffer),
Storable| Method Detail |
|---|
public String getXMLTag()
AnnotatedEntity
getXMLTag in class AnnotatedEntity
protected void extractFurtherInfos(StringBuffer xml)
throws NonParsableException
AnnotatedEntityStringBuffer to
extract the further information.
extractFurtherInfos in class AnnotatedEntityxml - a XML represenation of the main information as
StringBuffer
NonParsableException - if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)public double[] getLine(int index)
index from the table.
index - the given index
indexpublic int getNumberOfLines()
public String toString()
toString in class Objectpublic double[][] getValue()
AnnotatedEntityAnnotatedEntity.
getValue in class AnnotatedEntityAnnotatedEntityprotected void appendFurtherInfos(StringBuffer xml)
AnnotatedEntityStorable.toXML() to extract
further information (name, comment, datatype).
appendFurtherInfos in class AnnotatedEntityxml - a XML representation of the main information as
StringBufferStorable.toXML()
public static final ImageResult plot(REnvironment e,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
AbstractScoreBasedClassifier.DoubleTableResults in one
image.
dtr - the array of AbstractScoreBasedClassifier.DoubleTableResultse - the R environment
ImageResult
Exception - if something went wrongImageResult.ImageResult(String, String, java.awt.image.BufferedImage)
public static final StringBuffer getPlotCommands(REnvironment e,
String plotOptions,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
StringBuffer containing the plot commands.
dtr - the array of AbstractScoreBasedClassifier.DoubleTableResultse - the R environmentplotOptions - ROCCurve.NAME or PRCurve.NAMEStringBuffer containing the plot commands
Exception - if something went wrong
public static final StringBuffer getPlotCommands(REnvironment e,
String plotOptions,
int[] colors,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
StringBuffer containing the plot commands.
dtr - the array of AbstractScoreBasedClassifier.DoubleTableResultse - the R environmentplotOptions - ROCCurve.NAME or PRCurve.NAMEcolors - array of colors for the dtrs
StringBuffer containing the plot commands
Exception - if something went wrong
public static final StringBuffer getPlotCommands(REnvironment e,
String plotOptions,
String[] colors,
AbstractScoreBasedClassifier.DoubleTableResult... dtr)
throws Exception
StringBuffer containing the plot commands.
dtr - the array of AbstractScoreBasedClassifier.DoubleTableResultse - the R environmentplotOptions - ROCCurve.NAME or PRCurve.NAMEcolors - array of colors for the dtrs
StringBuffer containing the plot commands
Exception - if something went wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||