Package org.tribuo.json
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
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptioncom.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType
The hash type to use.The model to load.The location to write out the stripped model.Write out the stripped provenance as json.The provenances to removeboolean
Stores a hash of the model provenance in the stripped model.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
storeHash
@Option(charName='h', longName="store-provenance-hash", usage="Stores a hash of the model provenance in the stripped model.") public boolean storeHashStores a hash of the model provenance in the stripped model. -
inputModel
@Option(charName='i', longName="input-model-path", usage="The model to load.") public File inputModelThe model to load. -
outputModel
@Option(charName='o', longName="output-model-path", usage="The location to write out the stripped model.") public File outputModelThe location to write out the stripped model. -
provenanceFile
@Option(charName='p', longName="provenance-path", usage="Write out the stripped provenance as json.") public File provenanceFileWrite out the stripped provenance as json. -
removeProvenances
@Option(charName='r', longName="remove-provenances", usage="The provenances to remove") public EnumSet<StripProvenance.ProvenanceTypes> removeProvenancesThe provenances to remove -
hashType
@Option(charName='t', longName="hash-type", usage="The hash type to use.") public com.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType hashTypeThe hash type to use.
-
-
Constructor Details
-
StripProvenanceOptions
public StripProvenanceOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-