Class EvaluationProvenance

java.lang.Object
org.tribuo.provenance.EvaluationProvenance
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>>

public final class EvaluationProvenance extends Object implements com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
Provenance for evaluations.
See Also:
  • Constructor Details

    • EvaluationProvenance

      public EvaluationProvenance(ModelProvenance modelProvenance, DataProvenance datasetProvenance)
      Constructs an evaluation provenance from the supplied provenances.
      Parameters:
      modelProvenance - The model provenance.
      datasetProvenance - The test data provenance.
    • EvaluationProvenance

      public EvaluationProvenance(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
      Deserialization constructor.
      Parameters:
      map - The provenances.
  • Method Details

    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance
    • getTestDatasetProvenance

      public DataProvenance getTestDatasetProvenance()
      The test dataset provenance.
      Returns:
      The test dataset provenance.
    • getModelProvenance

      public ModelProvenance getModelProvenance()
      The model provenance.
      Returns:
      The model provenance.
    • getTribuoVersion

      public String getTribuoVersion()
      The Tribuo version used to create this dataset.
      Returns:
      The Tribuo version.
    • iterator

      public Iterator<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>> iterator()
      Specified by:
      iterator in interface Iterable<com.oracle.labs.mlrg.olcut.util.Pair<String,com.oracle.labs.mlrg.olcut.provenance.Provenance>>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object