Class StripProvenance.StripProvenanceOptions

java.lang.Object
org.tribuo.json.StripProvenance.StripProvenanceOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
Enclosing class:
StripProvenance

public static class StripProvenance.StripProvenanceOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
  • Field Details

    • storeHash

      @Option(charName='h', longName="store-provenance-hash", usage="Stores a hash of the model provenance in the stripped model.") public boolean storeHash
    • inputModel

      @Option(charName='i', longName="input-model-path", usage="The model to load.") public File inputModel
    • outputModel

      @Option(charName='o', longName="output-model-path", usage="The location to write out the stripped model.") public File outputModel
    • provenanceFile

      @Option(charName='p', longName="provenance-path", usage="Write out the stripped provenance as json.") public File provenanceFile
    • removeProvenances

      @Option(charName='r', longName="remove-provenances", usage="The provenances to remove") public EnumSet<StripProvenance.ProvenanceTypes> removeProvenances
    • hashType

      @Option(charName='t', longName="hash-type", usage="The hash type to use.") public com.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType hashType
  • Constructor Details

  • Method Details

    • getOptionsDescription

      Specified by:
      getOptionsDescription in interface com.oracle.labs.mlrg.olcut.config.Options