public class DatasetProvenance extends Object implements DataProvenance, com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
Dataset provenance can be a chain of other DataProvenances which track operations like selection and subsampling.
Modifier | Constructor and Description |
---|---|
|
DatasetProvenance(DataProvenance sourceProvenance,
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance,
Dataset<T> dataset) |
|
DatasetProvenance(DataProvenance sourceProvenance,
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance,
SequenceDataset<T> dataset) |
protected |
DatasetProvenance(DataProvenance sourceProvenance,
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance,
String datasetClassName,
boolean isDense,
boolean isSequence,
int numExamples,
int numFeatures,
int numOutputs) |
|
DatasetProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map) |
Modifier and Type | Method and Description |
---|---|
protected List<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> |
allProvenances() |
boolean |
equals(Object o) |
String |
getClassName() |
int |
getNumExamples()
The number of examples.
|
int |
getNumFeatures()
The number of features.
|
int |
getNumOutputs()
The number of output dimensions.
|
DataProvenance |
getSourceProvenance()
The input data provenance.
|
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> |
getTransformationProvenance()
The transformation provenances, in application order.
|
String |
getTribuoVersion()
The Tribuo version used to create this dataset.
|
int |
hashCode() |
boolean |
isDense()
Is the Dataset dense?
|
boolean |
isSequence()
Is it a sequence dataset?
|
Iterator<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkAndExtractProvenance, generateString, maybeExtractProvenance
forEach, spliterator
public DatasetProvenance(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, Dataset<T> dataset)
public DatasetProvenance(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, SequenceDataset<T> dataset)
protected DatasetProvenance(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, String datasetClassName, boolean isDense, boolean isSequence, int numExamples, int numFeatures, int numOutputs)
public String getClassName()
getClassName
in interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
public DataProvenance getSourceProvenance()
public com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> getTransformationProvenance()
public boolean isDense()
public boolean isSequence()
public int getNumExamples()
public int getNumFeatures()
public int getNumOutputs()
public String getTribuoVersion()
public Iterator<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> iterator()
protected List<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> allProvenances()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.