Class TrainerProvenanceImpl

java.lang.Object
com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
org.tribuo.provenance.SkeletalTrainerProvenance
org.tribuo.provenance.impl.TrainerProvenanceImpl
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 TrainerProvenanceImpl extends SkeletalTrainerProvenance
An implementation of TrainerProvenance that delegates everything to SkeletalTrainerProvenance. Used for trainers which don't require additional information stored beyond their configurable parameters and the standard trainer instance parameters.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo
  • Field Summary

    Fields inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    className, configuredParameters, HOST_SHORT_NAME, hostShortName

    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

    Constructors
    Constructor
    Description
    TrainerProvenanceImpl(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
    Construct a TrainerProvenance by extracting the necessary fields from the supplied map.
    Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.
    Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.
  • Method Summary

    Methods inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    checkAndExtractProvenance, getClassName, getConfiguredParameters, toString

    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

    getConfiguredParameters, iterator

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance

    generateString, getClassName
  • Constructor Details

    • TrainerProvenanceImpl

      public TrainerProvenanceImpl(Trainer<T> host)
      Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.
      Type Parameters:
      T - The type of the Output.
      Parameters:
      host - The trainer to inspect.
    • TrainerProvenanceImpl

      public TrainerProvenanceImpl(SequenceTrainer<T> host)
      Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.
      Type Parameters:
      T - The type of the Output.
      Parameters:
      host - The sequence trainer to inspect.
    • TrainerProvenanceImpl

      public TrainerProvenanceImpl(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
      Construct a TrainerProvenance by extracting the necessary fields from the supplied map.
      Parameters:
      map - The serialised form of this provenance.