|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EmptySampleException | |
|---|---|
| de.jstacs.data | Provides classes for the representation of data. |
| Uses of EmptySampleException in de.jstacs.data |
|---|
| Methods in de.jstacs.data that throw EmptySampleException | |
|---|---|
static Sample |
Sample.intersection(Sample... samples)
This method computes the intersection between all elements of the array, i.e. |
Sample[] |
Sample.partition(double p,
Sample.PartitionMethod method,
int subsequenceLength)
This method partitions the elements of the sample in 2 distinct parts. |
Sample[] |
Sample.partition(int k,
Sample.PartitionMethod method)
This method partitions the elements of the sample in k distinct parts. |
Sample[] |
Sample.partition(Sample.PartitionMethod method,
double... percentage)
This method partitions the elements of the sample in distinct parts. |
Sample |
Sample.subSampling(int number)
Randomly samples elements (sequences) from the set of all elements (sequences) contained in this Sample. |
static Sample |
Sample.union(Sample[] s,
boolean[] in)
This method unites all Sample from s regarding in. |
static Sample |
Sample.union(Sample[] s,
boolean[] in,
int subsequenceLength)
This method unites all Sample from s regarding in and sets the element length in
the united sample to subsequenceLength. |
| Constructors in de.jstacs.data that throw EmptySampleException | |
|---|---|
Sample(AlphabetContainer abc,
StringExtractor se)
Creates a Sample from a StringExctractor using the given AlphabetContainer. |
|
Sample(AlphabetContainer abc,
StringExtractor se,
int subsequenceLength)
Creates a Sample from a StringExctractor using the given AlphabetContainer and all overlapping windows of subsequenceLength. |
|
Sample(AlphabetContainer abc,
StringExtractor se,
String delim)
Creates a Sample from a StringExctractor using the given AlphabetContainer and delimiter. |
|
Sample(AlphabetContainer abc,
StringExtractor se,
String delim,
int subsequenceLength)
Creates a Sample from a StringExctractor using the given AlphabetContainer, the given delimiter and all overlapping windows of subsequenceLength. |
|
Sample(String annotation,
Sequence... seqs)
This constructor is specially designed for the method Model.emitSample(int, int...). |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||