org.jdmp.core.sample
Class DefaultSample
java.lang.Object
org.jdmp.core.AbstractCoreObject
org.jdmp.core.sample.AbstractSample
org.jdmp.core.sample.DefaultSample
- All Implemented Interfaces:
- Serializable, Cloneable, CoreObject, Sample, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasId, HasLabel
- Direct Known Subclasses:
- ClassificationSample, RelationalSample
public class DefaultSample
- extends AbstractSample
- See Also:
- Serialized Form
| Fields inherited from interface org.jdmp.core.sample.Sample |
COUNT, DESCRIPTION, DIFFERENCE, ID, INPUT, LABEL, PREDICTED, PROBABILITY, RMSE, SCORE, TARGET, WEIGHT |
| Methods inherited from class org.jdmp.core.sample.AbstractSample |
clear, getAsString, getDescription, getGUIObject, getId, getLabel, getMatrix, notifyGUIObject, setDescription, setId, setLabel, setObject, toString |
DefaultSample
public DefaultSample()
getVariables
public ObservableMap<Variable> getVariables()
setVariables
public void setVariables(ObservableMap<Variable> variables)
clone
public final DefaultSample clone()
- Specified by:
clone in interface Sample- Specified by:
clone in class AbstractSample
setMatrix
public void setMatrix(Object variableKey,
Matrix matrix)
Copyright © 2009. All Rights Reserved.