Package org.tribuo.provenance
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
ModifierConstructorDescriptionprotected
SkeletalTrainerProvenance
(com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo info) protected
SkeletalTrainerProvenance
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) protected
SkeletalTrainerProvenance
(SequenceTrainer<T> host) protected
SkeletalTrainerProvenance
(Trainer<T> host) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected static com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo
extractProvenanceInfo
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) The Tribuo version.int
hashCode()
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
-
SkeletalTrainerProvenance
-
SkeletalTrainerProvenance
-
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
The Tribuo version.- Returns:
- The Tribuo version.
-
getInstanceValues
- Specified by:
getInstanceValues
in interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
- Overrides:
getInstanceValues
in classcom.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
-
equals
- Overrides:
equals
in classcom.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
-
extractProvenanceInfo
-