org.jdmp.core.dataset
Interface DataSet
-
- All Superinterfaces:
- Clearable, java.lang.Cloneable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel, java.io.Serializable
- All Known Subinterfaces:
- ListDataSet
- All Known Implementing Classes:
- AbstractListDataSet, DefaultListDataSet, MatrixDataSet
public interface DataSet extends CoreObject
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringACCURACYstatic java.lang.StringCONFUSIONstatic java.lang.StringERRORCOUNTstatic DataSetFactoryFactorystatic java.lang.StringINPUTstatic java.lang.StringPREDICTEDstatic java.lang.StringRMSEstatic java.lang.StringTARGET-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ListDataSetbootstrap()ListDataSetbootstrap(int count)ListDataSetclone()doublegetAccuracy()doublegetAsDouble(java.lang.String key)intgetClassCount()intgetErrorCount()intgetFeatureCount()MatrixgetInputMatrix()MatrixgetMatrix(java.lang.Object key)MatrixgetPredictedMatrix()MatrixgetTargetMatrix()booleanisDiscrete()booleanisEmpty()java.util.Set<java.lang.String>keySet()voidsetMatrix(java.lang.String key, Matrix matrix)intsize()java.util.List<ListDataSet>splitByCount(boolean shuffle, int... count)java.util.List<ListDataSet>splitByPercent(boolean shuffle, double... percent)java.util.List<ListDataSet>splitForCV(int numberOfCVSets, int idOfCVSet, long randomSeed)java.util.List<ListDataSet>splitForStratifiedCV(int i, int r, long seed)-
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
fireValueChanged, getGUIObject, showGUI
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
-
-
-
Field Detail
-
INPUT
static final java.lang.String INPUT
- See Also:
- Constant Field Values
-
RMSE
static final java.lang.String RMSE
- See Also:
- Constant Field Values
-
PREDICTED
static final java.lang.String PREDICTED
- See Also:
- Constant Field Values
-
TARGET
static final java.lang.String TARGET
- See Also:
- Constant Field Values
-
ACCURACY
static final java.lang.String ACCURACY
- See Also:
- Constant Field Values
-
CONFUSION
static final java.lang.String CONFUSION
- See Also:
- Constant Field Values
-
ERRORCOUNT
static final java.lang.String ERRORCOUNT
- See Also:
- Constant Field Values
-
Factory
static final DataSetFactory Factory
-
-
Method Detail
-
splitByCount
java.util.List<ListDataSet> splitByCount(boolean shuffle, int... count)
-
splitForCV
java.util.List<ListDataSet> splitForCV(int numberOfCVSets, int idOfCVSet, long randomSeed)
-
splitByPercent
java.util.List<ListDataSet> splitByPercent(boolean shuffle, double... percent)
-
getInputMatrix
Matrix getInputMatrix()
-
getPredictedMatrix
Matrix getPredictedMatrix()
-
clone
ListDataSet clone()
- Specified by:
clonein interfaceCoreObject
-
getTargetMatrix
Matrix getTargetMatrix()
-
getAccuracy
double getAccuracy()
-
splitForStratifiedCV
java.util.List<ListDataSet> splitForStratifiedCV(int i, int r, long seed)
-
isDiscrete
boolean isDiscrete()
-
getFeatureCount
int getFeatureCount()
-
getClassCount
int getClassCount()
-
getErrorCount
int getErrorCount()
-
bootstrap
ListDataSet bootstrap()
-
bootstrap
ListDataSet bootstrap(int count)
-
getMatrix
Matrix getMatrix(java.lang.Object key)
-
keySet
java.util.Set<java.lang.String> keySet()
-
size
int size()
-
isEmpty
boolean isEmpty()
-
setMatrix
void setMatrix(java.lang.String key, Matrix matrix)
-
getAsDouble
double getAsDouble(java.lang.String key)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG