org.jdmp.core.sample
Interface Sample
-
- All Superinterfaces:
- BaseGenericMatrix<java.lang.Object>, BaseMatrix, BaseMatrixProperties, BasicDoubleCalculations, BasicEntrywiseDoubleCalculations, BooleanCalculations, CanPerformCalculations, Clearable, java.lang.Cloneable, java.lang.Comparable<Matrix>, Conversions, CoordinateFunctions, CoreObject, CreatorDoubleCalculations, DecompositionDoubleCalculations, DiscretizeCalculations, DistanceMeasures, DoubleCalculations, EntrywiseDoubleCalculations, ExtendedMatrixProperties, GeneralDoubleCalculations, GenericMatrix2D<java.lang.Object>, GettersAndSetters, HasDescription, HasGUIObject, HasId, HasLabel, HasMetaData, HyperbolicDoubleCalculations, IntCalculations, java.util.Map<java.lang.String,java.lang.Object>, MapMatrix<java.lang.String,java.lang.Object>, Matrix, Matrix2D, MiscEntrywiseDoubleCalculations, MiscGeneralDoubleCalculations, MissingValueDoubleCalculations, ObjectCalculations, RoundingDoubleCalculations, java.io.Serializable, StatisticalDoubleCalculations, StringCalculations, TrigonometricDoubleCalculations
- All Known Implementing Classes:
- AbstractSample, DefaultSample, MatrixSample, RelationalSample
public interface Sample extends CoreObject, MapMatrix<java.lang.String,java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringCOUNTstatic java.lang.StringDIFFERENCEstatic SampleFactoryFactorystatic java.lang.StringINPUTstatic java.lang.StringPREDICTEDstatic java.lang.StringPROBABILITYstatic java.lang.StringRMSEstatic java.lang.StringSCOREstatic java.lang.StringTAGSstatic java.lang.StringTARGETstatic java.lang.StringURLstatic java.lang.StringWEIGHT-
Fields inherited from interface org.ujmp.core.Matrix
chol, divideMatrix, divideScalar, eig, inv, lu, minusMatrix, minusScalar, mtimes, plusMatrix, plusScalar, qr, solve, svd, timesMatrix, timesScalar, transpose
-
Fields inherited from interface org.ujmp.core.BaseMatrix
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, Z
-
Fields inherited from interface org.ujmp.core.annotation.HasMetaData
DIMENSIONMETADATA
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Sampleclone()bytegetAsByte(java.lang.String id)chargetAsChar(java.lang.String id)doublegetAsDouble(java.lang.String id)floatgetAsFloat(java.lang.String id)intgetAsInt(java.lang.String id)longgetAsLong(java.lang.String id)MatrixgetAsMatrix(java.lang.String id)java.lang.ObjectgetAsObject(java.lang.String id)shortgetAsShort(java.lang.String id)java.lang.StringgetAsString(java.lang.String id)intgetRecognizedClass()intgetTargetClass()doublegetWeight()booleanisCorrect()-
Methods inherited from interface org.ujmp.core.mapmatrix.MapMatrix
getAsString, indexOfKey
-
Methods inherited from interface org.ujmp.core.genericmatrix.GenericMatrix2D
getObject, getObject, setObject, setObject
-
Methods inherited from interface org.ujmp.core.Matrix
exportTo, fireValueChanged, fireValueChanged, fireValueChanged, importFrom, save, save, share, share, toHtml
-
Methods inherited from interface org.ujmp.core.BaseMatrix
getFactory
-
Methods inherited from interface org.ujmp.core.interfaces.BaseMatrixProperties
allValues, equals, equalsAnnotation, equalsContent, getColumnCount, getColumnList, getDimensionCount, getRowCount, getRowList, getSize, getSize, getValueCount, getValueType, getZCount, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSquare, isSymmetric, isTransient, setSize, toString
-
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, showGUI
-
Methods inherited from interface org.ujmp.core.interfaces.CoordinateFunctions
allCoordinates, availableCoordinates, containsCoordinates, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinates
-
Methods inherited from interface org.ujmp.core.interfaces.GettersAndSetters
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsByteArray, getAsChar, getAsDate, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsObject, getAsShort, getAsString, getPreferredObject, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsByteArray, setAsChar, setAsDate, setAsDouble, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsObject, setAsShort, setAsString, toBigDecimalArray, toBigIntegerArray, toBooleanArray, toByteArray, toCharArray, toDateArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toObjectArray, toShortArray, toStringArray
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.basic.BasicDoubleCalculations
atimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, plus, plus, plus, plus, times, times, times, times
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations
abs, exp, log, log10, log2, logistic, power, power, sign, sqrt
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations
ceil, floor, round
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.hyperbolic.HyperbolicDoubleCalculations
cosh, sinh, tanh, tanh
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.trigonometric.TrigonometricDoubleCalculations
cos, sin, tan
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations
eye, nans, ones, rand, randn, zeros
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.misc.MiscEntrywiseDoubleCalculations
grayScale
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.statistical.StatisticalDoubleCalculations
corrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, var
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.decomposition.DecompositionDoubleCalculations
chol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, pinv, princomp, qr, solve, solveSPD, solveSymm, svd, svd
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.missingvalues.MissingValueDoubleCalculations
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.misc.MiscGeneralDoubleCalculations
append, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardize
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.discretize.DiscretizeCalculations
discretize, discretize, discretizeToBoolean, discretizeToColumns
-
Methods inherited from interface org.ujmp.core.booleanmatrix.calculation.BooleanCalculations
and, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xor
-
Methods inherited from interface org.ujmp.core.stringmatrix.calculation.StringCalculations
convertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCase
-
Methods inherited from interface org.ujmp.core.objectmatrix.calculation.ObjectCalculations
bootstrap, bootstrap, convert, delete, delete, delete, deleteColumns, deleteColumns, deleteRows, deleteRows, diag, extractAnnotation, fill, flipdim, includeAnnotation, replace, reshape, select, select, select, selectColumns, selectColumns, selectRows, selectRows, shuffle, sortrows, squeeze, subMatrix, swap, toColumnVector, toRowVector, transpose, transpose, transpose, tril, triu, unique, uniqueValueCount
-
Methods inherited from interface org.ujmp.core.interfaces.DistanceMeasures
chebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTo
-
Methods inherited from interface org.ujmp.core.annotation.HasMetaData
getColumnForLabel, getColumnLabel, getDimensionLabel, getDimensionMetaData, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getPositionForLabel, getRowForLabel, getRowLabel, setColumnLabel, setDimensionLabel, setDimensionMetaData, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
Methods inherited from interface org.ujmp.core.interfaces.Conversions
toBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrix
-
Methods inherited from interface org.ujmp.core.interfaces.ExtendedMatrixProperties
bigDecimalValue, bigIntegerValue, booleanValue, byteValue, charValue, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, dateValue, det, doubleValue, floatValue, getAbsoluteValueMean, getAbsoluteValueSum, getEuklideanValue, getMaxValue, getMeanValue, getMinValue, getRMS, getStdValue, getValueSum, intValue, isSPD, longValue, norm1, norm2, normF, normInf, pdet, rank, setContent, shortValue, stringValue, trace
-
-
-
-
Field Detail
-
INPUT
static final java.lang.String INPUT
- See Also:
- Constant Field Values
-
PROBABILITY
static final java.lang.String PROBABILITY
- See Also:
- Constant Field Values
-
COUNT
static final java.lang.String COUNT
- See Also:
- Constant Field Values
-
SCORE
static final java.lang.String SCORE
- See Also:
- Constant Field Values
-
WEIGHT
static final java.lang.String WEIGHT
- See Also:
- Constant Field Values
-
TARGET
static final java.lang.String TARGET
- See Also:
- Constant Field Values
-
PREDICTED
static final java.lang.String PREDICTED
- See Also:
- Constant Field Values
-
RMSE
static final java.lang.String RMSE
- See Also:
- Constant Field Values
-
DIFFERENCE
static final java.lang.String DIFFERENCE
- See Also:
- Constant Field Values
-
URL
static final java.lang.String URL
- See Also:
- Constant Field Values
-
TAGS
static final java.lang.String TAGS
- See Also:
- Constant Field Values
-
Factory
static final SampleFactory Factory
-
-
Method Detail
-
clone
Sample clone()
-
getRecognizedClass
int getRecognizedClass()
-
getTargetClass
int getTargetClass()
-
isCorrect
boolean isCorrect()
-
getAsMatrix
Matrix getAsMatrix(java.lang.String id)
-
getAsObject
java.lang.Object getAsObject(java.lang.String id)
-
getAsString
java.lang.String getAsString(java.lang.String id)
-
getAsDouble
double getAsDouble(java.lang.String id)
-
getAsInt
int getAsInt(java.lang.String id)
-
getAsLong
long getAsLong(java.lang.String id)
-
getAsShort
short getAsShort(java.lang.String id)
-
getAsFloat
float getAsFloat(java.lang.String id)
-
getAsByte
byte getAsByte(java.lang.String id)
-
getAsChar
char getAsChar(java.lang.String id)
-
getWeight
double getWeight()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG