Notation
The following expressions are used in this document:
-
D -
A
Datasettype. -
d -
An object of type
D -
c -
An integer, signifying a pattern class.
Refinement of
Requirements
The requirements below are those in addition to Dataset
requirements:
|
Name |
Expression |
Result Type |
Semantics |
|---|---|---|---|
|
Number of Classes |
d.num_classes() |
Integral Type |
Returns the number of classes of patterns stored in the dataset. For example, a speech dataset in which each pattern is an example of either the word "yes" or "no" has two classes. |
|
Class Training Samples |
d.training_samples(c) |
|
Returns a |
|
Class Testing Samples |
d.testing_samples(c) |
|
Returns a |