dsOut = retainTargets(dataSet,indices) Retain the target columns specified by indices in the dataSet target matrix.