Package moa.evaluation.preview
Class Preview
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.evaluation.preview.Preview
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
LearningCurve
,PreviewCollection
,PreviewCollectionLearningCurveWrapper
public abstract class Preview extends AbstractMOAObject
Abstract class which is used to define the methods needed from a preview- Version:
- $Revision: 1 $
- Author:
- Tuan Pham Minh (tuan.pham@ovgu.de)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Preview()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
entryToString(int entryIndex)
List<double[]>
getData()
abstract double[]
getEntryData(int entryIndex)
abstract String
getMeasurementName(int measurementIndex)
abstract int
getMeasurementNameCount()
String[]
getMeasurementNames()
abstract Class<?>
getTaskClass()
abstract int
numEntries()
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
getDescription
-
-
-
-
Method Detail
-
getMeasurementNameCount
public abstract int getMeasurementNameCount()
-
getMeasurementName
public abstract String getMeasurementName(int measurementIndex)
-
numEntries
public abstract int numEntries()
-
entryToString
public abstract String entryToString(int entryIndex)
-
getTaskClass
public abstract Class<?> getTaskClass()
-
getEntryData
public abstract double[] getEntryData(int entryIndex)
-
getMeasurementNames
public String[] getMeasurementNames()
-
getData
public List<double[]> getData()
-
-