public class RandomSubset extends Object
| Constructor and Description |
|---|
RandomSubset(DocumentCollection _docs) |
| Modifier and Type | Method and Description |
|---|---|
DocumentCollection |
getBalancedRandomSubset(int classesNum,
int numSamplesPerClass) |
DocumentCollection |
getRandomSubset(int setSize) |
boolean |
isAvailable(int i) |
void |
reset() |
public RandomSubset(DocumentCollection _docs)
public DocumentCollection getRandomSubset(int setSize)
public DocumentCollection getBalancedRandomSubset(int classesNum, int numSamplesPerClass)
public boolean isAvailable(int i)
public void reset()
Copyright © 2017. All rights reserved.