MATLAB File Help: prtPreProcZeroMeanRows
  prtPreProcZeroMeanRows  Zero mean observations (rows)
    ZM = prtPreProcZeroMeanRows creates an object that removes the
    mean from each row (observation) of a data set.
    prtPreProcZeroMeanRows has no user settable properties.
    A prtPreProcZeroMeanRows object also inherits all properties and
    functions from the prtAction class.
    dataSet = prtDataGenIris;              % Load a data set
    dataSet = dataSet.retainFeatures(1:3); % Use only the first 3 features
    zmr = prtPreProcZeroMeanRows;          % Create a
                                           %  prtPreProcZeroMeanRows object
    zmr = zmr.train(dataSet);              % Train
    dataSetNew =;         % Run
    % Plot
    subplot(2,1,1); plot(dataSet);
    subplot(2,1,2); plot(dataSetNew);
See Also
Class Details
Superclasses prtPreProc
Sealed false
Construct on load false
Constructor Summary
prtPreProcZeroMeanRows Zero mean observations (rows) 
Property Summary
dataSet The training prtDataSet, only stored if verboseStorage is true.  
dataSetSummary Structure that summarizes prtDataSet. 
isCrossValidateValid True 
isSupervised False 
isTrained Indicates if prtAction object has been trained. 
name Zero-Mean Rows 
nameAbbreviation ZMR 
userData User specified data 
verboseStorage Specifies whether or not to store the training prtDataset. 
Method Summary
  crossValidate Cross validate prtAction using prtDataSet and cross validation keys. 
  get get the object properties 
  kfolds Perform K-folds cross-validation of prtAction 
  optimize Optimize action parameter by exhaustive function maximization. 
  run Run a prtAction object on a prtDataSet object. 
  set set the object properties 
  train Train a prtAction object using training a prtDataSet object.