PRTools Contents

PRTools User Guide

gendatb

GENDATB

Generation of banana shaped classes

     A = GENDATB(N,S)

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

Output
 A generated dataset

Description

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.