MATLAB File Help: prtClassBinaryToMaryOneVsAll
  prtClassBinaryToMaryOneVsAll  M-Ary Emulation Classifier
     CLASSIFIER = prtClassBinaryToMaryOneVsAll returns a M-ary "one
     versus all" classifier. A one versus all classifier utilizes a
     binary classifier to make M-ary decisions. For all M classes, it
     selects each class, and makes a binary comparison to all the
     CLASSIFIER = prtClassBinaryToMaryOneVsAll(PROPERTY1, VALUE1, ...)
     constructs a prtClassBinaryToMaryOneVsAll object CLASSIFIER with
     properties as specified by PROPERTY/VALUE pairs.
     A prtClassBinaryToMaryOneVsAll object inherits all properties from the
     abstract class prtClass. In addition is has the following
     baseClassifier - The classifier to be used to make the binary
                   decisions. Must be a prtClass object, and defaults 
                   to a prtClassLogisticDiscriminant classifier.
     A prtClassBinaryToMaryOneVsAll object inherits the TRAIN, RUN,
     CROSSVALIDATE and KFOLDS methods from prtAction. It also inherits
     the PLOT method from prtClass.
      TestDataSet = prtDataGenMary;      % Create some test and 
      TrainingDataSet = prtDataGenMary;  % training data
      classifier = prtClassBinaryToMaryOneVsAll;   % Create a classifier
      classifier.baseClassifier = prtClassGlrt;    % Set the binary 
                                                   % Classifier
      % Set the internal Decider
      classifier.internalDecider = prtDecisionMap;
      classifier = classifier.train(TrainingDataSet);    % Train
      classes    = run(classifier, TestDataSet);         % Test
      % Evaluate, plot results
      percentCorr = prtScorePercentCorrect(classes.getX,TestDataSet.getTargets)
See also
Class Details
Superclasses prtClass
Sealed false
Construct on load false
Constructor Summary
prtClassBinaryToMaryOneVsAll M-Ary Emulation Classifier 
Property Summary
baseClassifier The classifier to be used 
dataSet The training prtDataSet, only stored if verboseStorage is true.  
dataSetSummary Structure that summarizes prtDataSet. 
internalDecider Optional prtDecider object for making decisions 
isCrossValidateValid True 
isNativeMary True 
isSupervised True 
isTrained Indicates if prtAction object has been trained. 
name M-Ary Emaulation One vs. All 
nameAbbreviation OVA 
twoClassParadigm Whether the classifier retures one output (binary) or two outputs (m-ary) when there are only two unique class labels 
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. 
  plot Plot the output confidence of a prtClass object 
  run Run a prtAction object on a prtDataSet object. 
  set set the object properties 
  train Train a prtAction object using training a prtDataSet object.