public class ModelProvenance extends Object implements com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
Model
.
Made up of the class name of the model object, the date and time it was trained, the provenance of the training data, and the provenance of the trainer.
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected static String |
DATASET |
protected DatasetProvenance |
datasetProvenance |
protected static String |
INSTANCE_VALUES |
protected com.oracle.labs.mlrg.olcut.provenance.MapProvenance<? extends com.oracle.labs.mlrg.olcut.provenance.Provenance> |
instanceProvenance |
protected OffsetDateTime |
time |
protected static String |
TRAINER |
protected TrainerProvenance |
trainerProvenance |
protected static String |
TRAINING_TIME |
protected String |
versionString |
Constructor and Description |
---|
ModelProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map) |
ModelProvenance(String className,
OffsetDateTime time,
DatasetProvenance datasetProvenance,
TrainerProvenance trainerProvenance) |
ModelProvenance(String className,
OffsetDateTime time,
DatasetProvenance datasetProvenance,
TrainerProvenance trainerProvenance,
Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> instanceProvenance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClassName() |
DatasetProvenance |
getDatasetProvenance()
The training dataset provenance.
|
com.oracle.labs.mlrg.olcut.provenance.MapProvenance<? extends com.oracle.labs.mlrg.olcut.provenance.Provenance> |
getInstanceProvenance()
Provenance for the specific training run which created this model.
|
TrainerProvenance |
getTrainerProvenance()
The trainer provenance.
|
OffsetDateTime |
getTrainingTime()
The training timestamp.
|
String |
getTribuoVersion()
The Tribuo version used to create this dataset.
|
int |
hashCode() |
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
forEach, spliterator
protected static final String DATASET
protected static final String TRAINER
protected static final String TRAINING_TIME
protected static final String INSTANCE_VALUES
protected final String className
protected final OffsetDateTime time
protected final DatasetProvenance datasetProvenance
protected final TrainerProvenance trainerProvenance
protected final com.oracle.labs.mlrg.olcut.provenance.MapProvenance<? extends com.oracle.labs.mlrg.olcut.provenance.Provenance> instanceProvenance
protected final String versionString
public ModelProvenance(String className, OffsetDateTime time, DatasetProvenance datasetProvenance, TrainerProvenance trainerProvenance)
public ModelProvenance(String className, OffsetDateTime time, DatasetProvenance datasetProvenance, TrainerProvenance trainerProvenance, Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> instanceProvenance)
public OffsetDateTime getTrainingTime()
public DatasetProvenance getDatasetProvenance()
public TrainerProvenance getTrainerProvenance()
public com.oracle.labs.mlrg.olcut.provenance.MapProvenance<? extends com.oracle.labs.mlrg.olcut.provenance.Provenance> getInstanceProvenance()
public String getTribuoVersion()
public String getClassName()
getClassName
in interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.