The Complete SPRLIB & ANNLIB
duin_dataset
- generate samples according to the Duin dataset
SYNOPSIS
| DATASET *duin_dataset |
(NClassA, NClassB, k) |
ARGUMENTS
int | NClassA | The number of samples for class A. |
int | NClassB | The number of samples for class B. |
int | k | The dimensionality of the dataset. |
RETURNS
The function returns NULL if an error occured, otherwise it returns
a valid pointer to a DATASET structure.
FUNCTION
This function generates a k-dimensional dataset with samples distributed
according to the duin Dataset. Samples of the Duin dataset are drawn
as follows:
Class A : Mean = 0 vector; Sigma = I (k-dimensional unity matrix)
Class B : Mean = (1/2^2, 1/2^2, ..., 1/2^2); Sigma = I (k-dimensional unity matrix)
NOTE
The returned pointer points to a dataset which is a LABELSET and
LEARNSET (see DATASET-flags).
SEE ALSO
random_duinset_a, random_duinset_b
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998