PRTools contents

PRTools manual

gendath

GENDATH

Generation of Highleyman classes

    A = GENDATH(N,LABTYPE)

Input
 N Number of objects (optional; default: [50,50])
 LABTYPE Label type (optional; default: 'crisp')

Output
 A Generated dataset

Description

Generation of a 2-dimensional 2-class dataset A of N objects  according to Highleyman.

The two Highleyman classes are defined by  1: Gauss([1 1],[1 0; 0 0.25]) 2: Gauss([2 0],[0.01 0; 0 4]).  Class priors are P(1) = P(2) = 0.5

If N is a vector of sizes, exactly N(I) objects are generated  for class I, I = 1,2.

LABTYPE defines the desired label type: 'crisp' or 'soft'. In the  latter case true posterior probabilities are set for the labels.

Defaults: N = [50,50], LABTYPE = 'crisp'.

Example(s)

 PREX_PLOTC, PREX_CLEVAL

See also

datasets, gauss, prdatasets,

PRTools contents

PRTools manual