| Package | Description |
|---|---|
| org.aksw.commons.collections |
| Modifier and Type | Method and Description |
|---|---|
static <T> Sample<T> |
Sample.create() |
static <T> Sample<T> |
Sample.create(Sample<T> other) |
static <T> Sample<T> |
Sample.create(Set<T> positives,
Set<T> negatives) |
static <T> Sample<T> |
Sample.createCopy(Collection<T> positives,
Collection<T> negatives) |
static <T> Sample<T> |
Sample.createCopy(Sample<T> other) |
Sample<T> |
SampleStats.getAll() |
Sample<? extends T> |
SampleStats.getFalse() |
Sample<? extends T> |
SampleStats.getTrue() |
| Modifier and Type | Method and Description |
|---|---|
void |
Sample.addAll(Sample<T> other) |
static <T> Sample<T> |
Sample.create(Sample<T> other) |
static <T> SampleStats |
SampleStats.create(Sample<T> all,
Set<T> examples) |
static <T> SampleStats |
SampleStats.create(Sample<T> pool,
Set<T> examples,
Sample<T> all)
Statistics for the pool
All positives that are not in the pool are removed from the examples
|
static <T> SampleStats |
SampleStats.create(Sample<T> pool,
Set<T> examples,
Sample<T> all)
Statistics for the pool
All positives that are not in the pool are removed from the examples
|
static <T> Sample<T> |
Sample.createCopy(Sample<T> other) |
Copyright © 2015. All rights reserved.