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

public final class TimestampedTrainerProvenance extends Object implements 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 Details

    • CREATION_TIME

      public static final String 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

      public Map<String,com.oracle.labs.mlrg.olcut.provenance.PrimitiveProvenance<?>> getInstanceValues()
      Specified by:
      getInstanceValues in interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
    • getConfiguredParameters

      public Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> getConfiguredParameters()
      Specified by:
      getConfiguredParameters in interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object