MATLAB Function Reference | Go to function: | Search Help Desk

randfs2 | Examples See Also

RANDFS2 : a features subsets builder by sampling without replacement

Syntax

    FS = RANDFS2(D,PROP,NB)

Description

`FS = RANDFS2(D,PROP,NB)`
`FS` = cell array containing the subsets of features
`D` = training set build with 'dataset'
`PROP` = percentage of the total number of attributes
`NB` = number of subsets

Examples

fs = randfs1(train,0.5,10);
data=get(train,'contdata');
d=data(:,fs{1});

See Also

randfs1

[ Help Desk ]