public class MultiLabelDataGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static Example<MultiLabel> |
emptyExample()
Generates an example with no features.
|
static com.oracle.labs.mlrg.olcut.util.Pair<Dataset<MultiLabel>,Dataset<MultiLabel>> |
generateDataset() |
static Dataset<MultiLabel> |
generateTestData() |
static Dataset<MultiLabel> |
generateTrainData() |
static Example<MultiLabel> |
invalidSparseExample()
Generates an example with the feature ids 1,5,8, which does not intersect with the
ids used elsewhere in this class.
|
public static Dataset<MultiLabel> generateTrainData()
public static Dataset<MultiLabel> generateTestData()
public static com.oracle.labs.mlrg.olcut.util.Pair<Dataset<MultiLabel>,Dataset<MultiLabel>> generateDataset()
public static Example<MultiLabel> invalidSparseExample()
public static Example<MultiLabel> emptyExample()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.