Package org.tribuo.provenance.impl
Class TimestampedTrainerProvenance
java.lang.Object
org.tribuo.provenance.impl.TimestampedTrainerProvenance
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
,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>> TrainerProvenance
A TrainerProvenance with a timestamp, used when there was no trainer
involved in model construction (e.g., creating an
EnsembleModel
from existing models).- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the provenance field storing the model creation time.Fields inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
CLASS_NAME, DEFAULT_HASH_TYPE
Fields inherited from interface org.tribuo.provenance.TrainerProvenance
IS_SEQUENCE, TRAIN_INVOCATION_COUNT, TRIBUO_VERSION_STRING
-
Constructor Summary
ConstructorDescriptionCreates a TimestampedTrainerProvenance, tracking the creation time and Tribuo version.TimestampedTrainerProvenance
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) Used for deserializing provenances from the marshalled form. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
generateString
-
Field Details
-
CREATION_TIME
The name of the provenance field storing the model creation time.- See Also:
-
-
Constructor Details
-
TimestampedTrainerProvenance
public TimestampedTrainerProvenance()Creates a TimestampedTrainerProvenance, tracking the creation time and Tribuo version. -
TimestampedTrainerProvenance
public TimestampedTrainerProvenance(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) Used for deserializing provenances from the marshalled form.- Parameters:
map
- The provenance map.
-
-
Method Details
-
getInstanceValues
- Specified by:
getInstanceValues
in interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
getConfiguredParameters
- Specified by:
getConfiguredParameters
in interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
getClassName
- Specified by:
getClassName
in interfacecom.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
-
equals
-
hashCode
public int hashCode() -
toString
-