The Complete SPRLIB & ANNLIB
std_var_dataset
- generate samples according to the var dataset
SYNOPSIS
| DATASET *std_var_dataset |
(NClassA, NClassB) |
ARGUMENTS
int | NClassA | The number of samples for class A. |
int | NClassB | The number of samples for class B. |
RETURNS
The function returns NULL if an error occurred, otherwise it returns
a valid pointer to a DATASET structure.
FUNCTION
This function generates a 2-dimensional dataset with samples distributed
according to the var dataset. Samples of the var dataset are drawn as
follows:
Class A : Mean = (0,0); Sigma = Diag(1.645^2, 1.645^2)
Class B : Mean = (0,0); Sigma = Diag(0.6076^2, 0.6076^2)
where Diag is a diagonal matrix.
NOTE
The returned pointer points to a dataset which is a LABELSET and a LEARNSET
(see DATASET-flags).
SEE ALSO
random_varset_a, random_varset_b
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998