Package org.tribuo.provenance
Class EvaluationProvenance
java.lang.Object
org.tribuo.provenance.EvaluationProvenance
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
,com.oracle.labs.mlrg.olcut.provenance.Provenance
,Serializable
,Iterable<com.oracle.labs.mlrg.olcut.util.Pair<String,
com.oracle.labs.mlrg.olcut.provenance.Provenance>>
public final class EvaluationProvenance
extends Object
implements com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
Provenance for evaluations.
- See Also:
-
Field Summary
Fields inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
CLASS_NAME, DEFAULT_HASH_TYPE
-
Constructor Summary
ConstructorDescriptionEvaluationProvenance
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) Deserialization constructor.EvaluationProvenance
(ModelProvenance modelProvenance, DataProvenance datasetProvenance) Constructs an evaluation provenance from the supplied provenances. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
generateString
-
Constructor Details
-
EvaluationProvenance
Constructs an evaluation provenance from the supplied provenances.- Parameters:
modelProvenance
- The model provenance.datasetProvenance
- The test data provenance.
-
EvaluationProvenance
Deserialization constructor.- Parameters:
map
- The provenances.
-
-
Method Details
-
getClassName
- Specified by:
getClassName
in interfacecom.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
-
getTestDatasetProvenance
The test dataset provenance.- Returns:
- The test dataset provenance.
-
getModelProvenance
The model provenance.- Returns:
- The model provenance.
-
getTribuoVersion
The Tribuo version used to create this dataset.- Returns:
- The Tribuo version.
-
iterator
-
toString
-
equals
-
hashCode
public int hashCode()
-