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
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, hostShortNameFields inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
CLASS_NAME, DEFAULT_HASH_TYPEFields inherited from interface org.tribuo.provenance.TrainerProvenance
IS_SEQUENCE, TRAIN_INVOCATION_COUNT, TRIBUO_VERSION_STRING -
Constructor Summary
ConstructorsModifierConstructorDescriptionTrainerProvenanceImpl(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) Construct a TrainerProvenance by extracting the necessary fields from the supplied map.<T extends Output<T>>TrainerProvenanceImpl(SequenceTrainer<T> host) Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.<T extends Output<T>>TrainerProvenanceImpl(Trainer<T> host) Construct a TrainerProvenance by reading all the configurable parameters along with the train call count. -
Method Summary
Methods inherited from class org.tribuo.provenance.SkeletalTrainerProvenance
equals, extractProvenanceInfo, getInstanceValues, getTribuoVersion, hashCode, isSequenceMethods inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
checkAndExtractProvenance, getClassName, getConfiguredParameters, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
getConfiguredParameters, iteratorMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
generateString, getClassName
-
Constructor Details
-
TrainerProvenanceImpl
-
TrainerProvenanceImpl
Construct a TrainerProvenance by reading all the configurable parameters along with the train call count.- Type Parameters:
T- The type of theOutput.- Parameters:
host- The sequence trainer to inspect.
-
TrainerProvenanceImpl
-