MATLAB File Help: prtKernelDirect
  prtKernelDirect  Direct kernel
   kernelObj = prtKernelDirect Generates a prtKernelDirect object implementing a
   direct kernel function.  Kernel objects are widely used in several
   prt classifiers, such as prtClassRvm and prtClassSvm.  Direct kernels
   implement the following function for 1 x N vectors x1 and x2:
    k(x1,x2) = x2;
   Direct kernel functions can be used sparse machine learning contexts
   to perform sparse linear feature selection.
   prtKernelDirect objects inherit the TRAIN, RUN, and AND
   methods from prtKernel.
   % Example:
    ds = prtDataGenUnimodal;   % Load a data set
    k1 = prtKernelDirect;      % Create a prtKernelDirect object
    k1 = k1.train(ds);         % Train
    g1 =;           % Run
    % Plot the results
See also
Class Details
Superclasses prtKernel
Sealed false
Construct on load false
Constructor Summary
prtKernelDirect Direct kernel 
Property Summary
dataSet The training prtDataSet, only stored if verboseStorage is true.  
dataSetSummary Structure that summarizes prtDataSet. 
isCrossValidateValid False 
isTrained Indicates if prtAction object has been trained. 
name Direct Kernel 
nameAbbreviation DirectKernel 
userData User specified data 
verboseStorage Specifies whether or not to store the training prtDataset. 
Method Summary
  and Combine 2 prtKernels into a prtKernelSet 
  get get the object properties 
  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.