DD_tools: target_class

 TARGET_CLASS  extracts the target class from an one-class dataset

A = TARGET_CLASS(A,CLNR)

Extract the target class from an one-class dataset. When the label CLNR is given, the class indicated by this label is taken.

[A,B] = TARGET_CLASS(A,CLNR)

When a second output argument B is requested, the remaining data is stored in B.

Default: CLNR='target';

See also: oc_set gendatoc find_target relabel 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