Package org.tribuo.data.text
Class SplitTextData.TrainTestSplitOptions
java.lang.Object
org.tribuo.data.text.SplitTextData.TrainTestSplitOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- SplitTextData
public static class SplitTextData.TrainTestSplitOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionInput data file in standard text format.long
Seed for the RNG.float
Split fraction.Output training data file.Output validation data file.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
splitFraction
@Option(charName='s', longName="split-fraction", usage="Split fraction.") public float splitFractionSplit fraction. -
inputPath
@Option(charName='i', longName="input-file", usage="Input data file in standard text format.") public Path inputPathInput data file in standard text format. -
trainPath
@Option(charName='t', longName="training-output-file", usage="Output training data file.") public Path trainPathOutput training data file. -
validationPath
@Option(charName='v', longName="validation-output-file", usage="Output validation data file.") public Path validationPathOutput validation data file. -
seed
@Option(charName='r', longName="rng-seed", usage="Seed for the RNG.") public long seedSeed for the RNG.
-
-
Constructor Details
-
TrainTestSplitOptions
public TrainTestSplitOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-