public class TrainTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TrainTest.InputType |
static class |
TrainTest.TensorflowOptions |
Constructor and Description |
---|
TrainTest() |
Modifier and Type | Method and Description |
---|---|
static com.oracle.labs.mlrg.olcut.util.Pair<Dataset<Label>,Dataset<Label>> |
load(Path trainingPath,
Path testingPath,
OutputFactory<Label> outputFactory) |
static void |
main(String[] args) |
static void |
saveModel(Path outputPath,
Model<Label> model) |
public static com.oracle.labs.mlrg.olcut.util.Pair<Dataset<Label>,Dataset<Label>> load(Path trainingPath, Path testingPath, OutputFactory<Label> outputFactory) throws IOException
IOException
public static void saveModel(Path outputPath, Model<Label> model) throws IOException
IOException
public static void main(String[] args) throws IOException
args
- the command line argumentsIOException
- if there is any error reading the examples.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.