Class SkeletalTrainerProvenance

java.lang.Object
com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
org.tribuo.provenance.SkeletalTrainerProvenance
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
Direct Known Subclasses:
AbstractCARTTrainer.AbstractCARTTrainerProvenance, HashingSequenceTrainer.HashingSequenceTrainerProvenance, TensorFlowSequenceTrainer.TensorFlowSequenceTrainerProvenance, TensorFlowTrainer.TensorFlowTrainerProvenance, TrainerProvenanceImpl, XGBoostTrainer.XGBoostTrainerProvenance

public abstract class SkeletalTrainerProvenance extends com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance implements TrainerProvenance
The skeleton of a TrainerProvenance that extracts the configured 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
    Modifier
    Constructor
    Description
    protected
    SkeletalTrainerProvenance(com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo info)
     
    protected
    SkeletalTrainerProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
     
    protected
     
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected static com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo
    extractProvenanceInfo(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
     
    Map<String,com.oracle.labs.mlrg.olcut.provenance.PrimitiveProvenance<?>>
     
    The Tribuo version.
    int
     
    boolean
    Is this a sequence trainer.

    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

    • SkeletalTrainerProvenance

      protected SkeletalTrainerProvenance(Trainer<T> host)
    • SkeletalTrainerProvenance

      protected SkeletalTrainerProvenance(SequenceTrainer<T> host)
    • SkeletalTrainerProvenance

      protected SkeletalTrainerProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
    • SkeletalTrainerProvenance

      protected SkeletalTrainerProvenance(com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo info)
  • Method Details

    • isSequence

      public boolean isSequence()
      Is this a sequence trainer.
      Returns:
      True if it's a sequence trainer.
    • getTribuoVersion

      public String getTribuoVersion()
      The Tribuo version.
      Returns:
      The Tribuo version.
    • getInstanceValues

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

      public boolean equals(Object o)
      Overrides:
      equals in class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
    • extractProvenanceInfo

      protected static com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo extractProvenanceInfo(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)