DD_tools: gendatoc

GENDATOC Generate a one-class dataset

X = GENDATOC(X_T,X_O)

Generate a one-class dataset from the two datasets X_T and X_O. Dataset X_T will be labelled 'target', and X_O will be labelled 'outlier'. It is possible to have X_T or X_O an empty dataset [], but not both at the same time, of course.

Thus, X = GENDATOC([],X) will make X a dataset with only outlier objects.

Note that X = GENDATOC(X) does the same as X = TARGET_CLASS(X) when X is a data matrix.

See also: relabel find_target target_class Copyright: D.M.J. Tax, D.M.J.Tax@prtools.org Faculty EWI, Delft University of Technology P.O. Box 5031, 2600 GA Delft, The Netherlands