PRTools Contents

PRTools User Guide



Generation of banana shaped classes

     A = GENDATB(N,S)

 N number of generated samples of vector with  number of samples per class
 S variance of the normal distribution (opt, def: s=1)

 A generated dataset


Generation of a 2-dimensional 2-class dataset A of N objects with a  banana shaped distribution. The data is uniformly distributed along the  bananas and is superimposed with a normal distribution with standard  deviation S in all directions. Class priors are P(1) = P(2) = 0.5.  Defaults: N = [50,50], S = 1.

See also

datasets, prdatasets,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.