public final class SequenceDataGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static SequenceExample<Label> |
generateEmptyExample()
This generates a sequence example with no examples.
|
static SequenceExample<Label> |
generateGorillaA() |
static SequenceExample<Label> |
generateGorillaB() |
static MutableSequenceDataset<Label> |
generateGorillaDataset(int numCopies) |
static SequenceExample<Label> |
generateInvalidExample()
This generates a sequence example with features that are unused by the training data.
|
static SequenceExample<Label> |
generateOtherInvalidExample()
This generates a sequence example where the first example has no features.
|
public static MutableSequenceDataset<Label> generateGorillaDataset(int numCopies)
public static SequenceExample<Label> generateGorillaA()
public static SequenceExample<Label> generateGorillaB()
public static SequenceExample<Label> generateInvalidExample()
SequenceExample
which is invalid in the context of the Gorilla example data.public static SequenceExample<Label> generateOtherInvalidExample()
SequenceExample
which is invalid as one example contains no features.public static SequenceExample<Label> generateEmptyExample()
SequenceExample
which is invalid as it contains no examples.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.