Class FeatureSelectorProvenanceImpl

java.lang.Object
com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance
org.tribuo.provenance.impl.FeatureSelectorProvenanceImpl
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>>, FeatureSelectorProvenance

public final class FeatureSelectorProvenanceImpl extends com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance implements FeatureSelectorProvenance
An implementation of FeatureSelectorProvenance which delegates everything to SkeletalConfiguredObjectProvenance. Used for feature selectors which don't need to record any instance level information.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo
  • Field Summary

    Fields inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    className, configuredParameters, HOST_SHORT_NAME, hostShortName

    Fields inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance

    CLASS_NAME, DEFAULT_HASH_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeatureSelectorProvenanceImpl(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
    Construct a FeatureSelectorProvenanceImpl by extracting the necessary fields from the supplied map.
    Creates a FeatureSelectorProvenanceImpl by reading the configured fields from the host object.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo
    extractProvenanceInfo(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
    Extracts the class name and host short name provenances.

    Methods inherited from class com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance

    checkAndExtractProvenance, equals, getClassName, getConfiguredParameters, getInstanceValues, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance

    getConfiguredParameters, getInstanceValues, iterator

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance

    generateString, getClassName
  • Constructor Details

    • FeatureSelectorProvenanceImpl

      public FeatureSelectorProvenanceImpl(T host)
      Creates a FeatureSelectorProvenanceImpl by reading the configured fields from the host object.
      Type Parameters:
      T - The type of the feature selector.
      U - The output type of the feature selector.
      Parameters:
      host - The object to record.
    • FeatureSelectorProvenanceImpl

      public FeatureSelectorProvenanceImpl(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
      Construct a FeatureSelectorProvenanceImpl by extracting the necessary fields from the supplied map.
      Parameters:
      map - The serialised form of this provenance.
  • Method Details

    • extractProvenanceInfo

      protected static com.oracle.labs.mlrg.olcut.provenance.impl.SkeletalConfiguredObjectProvenance.ExtractedInfo extractProvenanceInfo(Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> map)
      Extracts the class name and host short name provenances. Assumes the rest of the map entries are configured parameters.
      Parameters:
      map - The Map of provenance entries.
      Returns:
      An extracted info object with the class name and host short name parsed out.