Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
de.jstacs.data.EmptySampleException

Packages that use EmptySampleException
de.jstacs.data | Provides classes for the representation of data.
de.jstacs.data.sequences | Provides classes for representing sequences.
de.jstacs.models.discrete.homogeneous |

Uses of EmptySampleException in de.jstacs.data

Methods in de.jstacs.data that throw EmptySampleException
`static Sample` | `Sample.diff(Sample data, Sample... samples)` This method computes the difference between the `Sample` `data` and the `Sample`s `samples`.
`static Sample` | `Sample.intersection(Sample... samples)` This method computes the intersection between all elements/`Sample` s of the array, i.e. it returns a `Sample` containing only `Sequence`s that are contained in all `Sample`s of the array.
`Pair<Sample[],double[][]>` | `Sample.partition(double[] sequenceWeights, int k, Sample.PartitionMethod method)` This method partitions the elements, i.e. the `Sequence`s, of the `Sample` and the corresponding weights in `k` distinct parts.
`Pair<Sample[],double[][]>` | `Sample.partition(double[] sequenceWeights, Sample.PartitionMethod method, double... percentage)` This method partitions the elements, i.e. the `Sequence`s, of the `Sample` and the corresponding weights in distinct parts where each part holds the corresponding percentage given in the array `percentage`.
`Sample[]` | `Sample.partition(double p, Sample.PartitionMethod method, int subsequenceLength)` This method partitions the elements, i.e. the `Sequence`s, of the `Sample` in two distinct parts.
`Sample[]` | `Sample.partition(int k, Sample.PartitionMethod method)` This method partitions the elements, i.e. the `Sequence`s, of the `Sample` in `k` distinct parts.
`Sample[]` | `Sample.partition(Sample.PartitionMethod method, double... percentage)` This method partitions the elements, i.e. the `Sequence`s, of the `Sample` in distinct parts where each part holds the corresponding percentage given in the array `percentage`.
`Sample` | `Sample.subSampling(int number)` Randomly samples elements, i.e.
`static Sample` | `Sample.union(Sample[] s, boolean[] in)` This method unites all `Sample`s of the array `s` regarding the array `in`.
`static Sample` | `Sample.union(Sample[] s, boolean[] in, int subsequenceLength)` This method unites all `Sample`s of the array `s` regarding the array `in` and sets the element length in the united `Sample` to `subsequenceLength`.

Constructors in de.jstacs.data that throw EmptySampleException
`DNASample(String fName)` Creates a new sample of DNA sequence from a FASTA file with file name `fName`.
`DNASample(String fName, char ignore)` Creates a new sample of DNA sequence from a file with file name `fName`.
`DNASample(String fName, char ignore, SequenceAnnotationParser parser)` Creates a new sample of DNA sequence from a file with file name `fName` using the given `parser`.
`Sample(AlphabetContainer abc, AbstractStringExtractor se)` Creates a new `Sample` from a `StringExtractor` using the given `AlphabetContainer`.
`Sample(AlphabetContainer abc, AbstractStringExtractor se, int subsequenceLength)` Creates a new `Sample` from a `StringExtractor` using the given `AlphabetContainer` and all overlapping windows of length `subsequenceLength`.
`Sample(AlphabetContainer abc, AbstractStringExtractor se, String delim)` Creates a new `Sample` from a `StringExtractor` using the given `AlphabetContainer` and a delimiter `delim`.
`Sample(AlphabetContainer abc, AbstractStringExtractor se, String delim, int subsequenceLength)` Creates a new `Sample` from a `StringExtractor` using the given `AlphabetContainer`, the given delimiter `delim` and all overlapping windows of length `subsequenceLength`.
`Sample(String annotation, Sequence... seqs)` Creates a new `Sample` from an array of `Sequence`s and a given annotation.

Uses of EmptySampleException in de.jstacs.data.sequences

Methods in de.jstacs.data.sequences that throw EmptySampleException
`static Sample` | `SparseSequence.getSample(AlphabetContainer con, AbstractStringExtractor... se)` This method allows to create a `Sample` containing `SparseSequence`s.

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 a given number of `Sequence`s from a trained homogeneous model.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES