|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EmptySampleException | |
|---|---|
| de.jstacs.data | Provides classes for the representation of data. |
| de.jstacs.models.discrete.homogeneous | |
| 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. it returns a Sample containing only sequences that are
contained in all Samples of the array. |
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 Samples from s regarding
in. |
static Sample |
Sample.union(Sample[] s,
boolean[] in,
int subsequenceLength)
This method unites all Samples 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,
AbstractStringExtractor se)
Creates a Sample from a StringExtractor
using the given AlphabetContainer. |
|
Sample(AlphabetContainer abc,
AbstractStringExtractor se,
int subsequenceLength)
Creates a Sample from a StringExtractor
using the given AlphabetContainer and all overlapping windows of
subsequenceLength. |
|
Sample(AlphabetContainer abc,
AbstractStringExtractor se,
String delim)
Creates a Sample from a StringExtractor
using the given AlphabetContainer and delimiter. |
|
Sample(AlphabetContainer abc,
AbstractStringExtractor se,
String delim,
int subsequenceLength)
Creates a Sample from a StringExtractor
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...). |
|
| Uses of EmptySampleException in de.jstacs.models.discrete.homogeneous |
|---|
| Methods in de.jstacs.models.discrete.homogeneous that throw EmptySampleException | |
|---|---|
Sample |
HomogeneousModel.emitSample(int no,
int... length)
Creates a sample of nosequences. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||