MATLAB File Help: prtClassCap
  prtClassCap  Central Axis projection classifier
     CLASSIFIER = prtClassCap returns a Cap classifier
     CLASSIFIER = prtClassCap(PROPERTY1, VALUE1, ...) constructs a
     prtClassCap object CLASSIFIER with properties as specified by
     PROPERTY/VALUE pairs.
     A prtClassCap object inherits all properties from the abstract class
     prtClass. In addition is has the following properties:
     w                 -  Central axis projection weights, set during
     threshold         -  Decision threshold, set during training
     Cap classifiers are a prototypical "weak" classification algorithm
     that find application in multiple meta-algorithms.  A good
     explanation of Cap classifiers can be found in:
     Breiman, Leo (2001). "Random Forests". Machine Learning 45 (1): 
     Note that the output of the run method of a prtClassCap classifier
     includes the process of applying the learned threshold to the
     linear projection, so the outputs are discrete valued.
     A prtClassCap object inherits the TRAIN, RUN, CROSSVALIDATE and 
     KFOLDS methods from prtAction. It also inherits the PLOT method 
     from prtClass.
      TestDataSet = prtDataGenUniModal;       % Create some test and
      TrainingDataSet = prtDataGenUniModal;   % training data
      classifier = prtClassCap;              % Create a classifier
      classifier = classifier.train(TrainingDataSet);    % Train
      classified = run(classifier, TestDataSet);         % Test
      percentCorr = prtScorePercentCorrect(classified,TestDataSet);
      [pf,pd] = prtScoreRoc(classified,TestDataSet);
      h = plot(pf,pd,'linewidth',3);
      title('ROC'); xlabel('Pf'); ylabel('Pd');
Class Details
Superclasses prtClass
Sealed false
Construct on load false
Constructor Summary
prtClassCap Central Axis projection classifier 
Property Summary
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 False 
isSupervised True 
isTrained Indicates if prtAction object has been trained. 
name Central Axis Projection 
nameAbbreviation CAP 
threshold Decision threshold 
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. 
w Central axis projection weights 
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.