| 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. Example: 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 = zmr.run(dataSet); % Run % Plot subplot(2,1,1); plot(dataSet); subplot(2,1,2); plot(dataSetNew);
| Superclasses | prtPreProc |
| Sealed | false |
| Construct on load | false |
| prtPreProcZeroMeanRows | Zero mean observations (rows) |
| 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 |
| showProgressBar | |
| userData | User specified data |
| verboseStorage | Specifies whether or not to store the training prtDataset. |
| 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. |