Package org.tribuo.data
Class PreprocessAndSerialize.PreprocessAndSerializeOptions
java.lang.Object
org.tribuo.data.PreprocessAndSerialize.PreprocessAndSerializeOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- PreprocessAndSerialize
public static class PreprocessAndSerialize.PreprocessAndSerializeOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionConfigurableDataSource<? extends Output<?>>
Datasource to load from a config filepath to serialize the datasetboolean
Save the dataset as a protobuf.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
dataSource
@Option(charName='d', longName="dataSource", usage="Datasource to load from a config file") public ConfigurableDataSource<? extends Output<?>> dataSourceDatasource to load from a config file -
output
@Option(charName='o', longName="serialized-dataset", usage="path to serialize the dataset") public Path outputpath to serialize the dataset -
protobufFormat
@Option(charName='p', longName="save-as-protobuf", usage="Save the dataset as a protobuf.") public boolean protobufFormatSave the dataset as a protobuf.
-
-
Constructor Details
-
PreprocessAndSerializeOptions
public PreprocessAndSerializeOptions()
-