T
- The type of the outputs in this Dataset
.public class MinimumCardinalityDataset<T extends Output<T>> extends ImmutableDataset<T>
Modifier and Type | Class and Description |
---|---|
static class |
MinimumCardinalityDataset.MinimumCardinalityDatasetProvenance
Provenance for
MinimumCardinalityDataset . |
dropInvalidExamples, featureIDMap, outputIDInfo
data, indices, outputFactory, sourceProvenance
Constructor and Description |
---|
MinimumCardinalityDataset(Dataset<T> dataset,
int minCardinality) |
Modifier and Type | Method and Description |
---|---|
int |
getMinCardinality()
The minimum cardinality threshold for the features.
|
int |
getNumExamplesRemoved()
The number of examples removed due to a lack of features.
|
DatasetProvenance |
getProvenance() |
Set<String> |
getRemoved()
The feature names that were removed.
|
add, add, copyDataset, copyDataset, copyDataset, getDropInvalidExamples, getFeatureIDMap, getFeatureMap, getOutputIDInfo, getOutputInfo, getOutputs, hashFeatureMap, toString
createTransformers, createTransformers, getData, getExample, getOutputFactory, getSourceDescription, getSourceProvenance, iterator, shuffle, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Set<String> getRemoved()
public int getNumExamplesRemoved()
public int getMinCardinality()
public DatasetProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<DatasetProvenance>
getProvenance
in class ImmutableDataset<T extends Output<T>>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.