dataSet = setTargets(ds,targets) setTargets outputs a dataSet with targets set to targetsIn. targetsIn should be a ds.nObservations x 1 matrix of target values.