Package org.tribuo.interop
Class ExternalDatasetProvenance
java.lang.Object
org.tribuo.provenance.DatasetProvenance
org.tribuo.interop.ExternalDatasetProvenance
- All Implemented Interfaces:
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>> DataProvenance
A dummy provenance used to describe the dataset of external models.
Should not be used apart from by the external model system.
- See Also:
-
Field Summary
Fields inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
CLASS_NAME, DEFAULT_HASH_TYPE
-
Constructor Summary
ConstructorDescriptionExternalDatasetProvenance
(String description, OutputFactory<T> factory, boolean isSequence, int numFeatures, int numOutputs) An empty provenance used as a placeholder for externally trained models.ExternalDatasetProvenance
(Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> map) Deserialization constructor. -
Method Summary
Methods inherited from class org.tribuo.provenance.DatasetProvenance
allProvenances, equals, getClassName, getNumExamples, getNumFeatures, getNumOutputs, getSourceProvenance, getTransformationProvenance, getTribuoVersion, hashCode, isDense, isSequence, iterator, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
generateString
-
Constructor Details
-
ExternalDatasetProvenance
public ExternalDatasetProvenance(String description, OutputFactory<T> factory, boolean isSequence, int numFeatures, int numOutputs) An empty provenance used as a placeholder for externally trained models.- Type Parameters:
T
- The type of the output.- Parameters:
description
- The model description.factory
- The output factory.isSequence
- Is it a sequence model?numFeatures
- The number of features.numOutputs
- The output dimensionality.
-
ExternalDatasetProvenance
Deserialization constructor.- Parameters:
map
- The provenances.
-