PRTools Contents

PRTools User Guide

setdat

SETDAT

Reset data and feature labels of dataset for classification output

    A = SETDAT(A,DATA,W)

Input
 A Dataset
 DATA Dataset or double
 W Mapping (optional)

Output
 A Dataset

Description

The data in the dataset A is replaced by DATA (dataset or double). The  number of objects in A and DATA should be equal. Optionally, A is given  the feature labels and the output size as defined by the the mapping W.  This call is identical to
     A = SETDATA(A,DATA);
     A = SET(A,'featlab',GETLABELS(W),'featsize',GETSIZE_OUT(W));

See also

prdataset, setdata,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.