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_TYPEFields 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, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
iteratorMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:
getConfiguredParametersin interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
getClassName
- Specified by:
getClassNamein interfacecom.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
-
toString
-
getInstanceValues
public Map<String, com.oracle.labs.mlrg.olcut.provenance.PrimitiveProvenance<?>> getInstanceValues()- Specified by:
getInstanceValuesin interfacecom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
-
equals
-
hashCode
-