Class ExternalTrainerProvenance
java.lang.Object
org.tribuo.interop.ExternalTrainerProvenance
- 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
A dummy provenance for a model trained outside Tribuo.
It records the timestamp, hash and location of the loaded model.
- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionExternalTrainerProvenance
(URL location) Creates an external trainer provenance, storing the location and pulling in the timestamp and file hash.ExternalTrainerProvenance
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> provenance) Used by the provenance serialization system. -
Method Summary
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
iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
generateString
-
Constructor Details
-
ExternalTrainerProvenance
Creates an external trainer provenance, storing the location and pulling in the timestamp and file hash.- Parameters:
location
- The location to use.
-
ExternalTrainerProvenance
public ExternalTrainerProvenance(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> provenance) Used by the provenance serialization system.- Parameters:
provenance
- The provenance to reconstruct.
-
-
Method Details
-
getConfiguredParameters
- Specified by:
getConfiguredParameters
in interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
getClassName
- Specified by:
getClassName
in interfacecom.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
-
toString
-
getInstanceValues
public Map<String, com.oracle.labs.mlrg.olcut.provenance.PrimitiveProvenance<?>> getInstanceValues()- Specified by:
getInstanceValues
in interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
equals
-
hashCode
-