MATLAB File Help: dml.one_against_rest View code for dml.one_against_rest Default Topics
dml.one_against_rest
  one_against_rest one-against-rest binary classification. 
 
    DESCRIPTION
    This class evaluates a binary classifier on all possible pairs of class
    labels. Borda count is used as default combfun. Can be overridden.
 
    EXAMPLE
    X = rand(15,20); Y = [1 1 1 1 1 2 2 2 2 2 3 3 3 3 3]';
    m = dml.one_against_rest('mva',dml.svm);
    m = m.train(X,Y);
    Z = m.test(X);
 
    DEVELOPER
    Marcel van Gerven (m.vangerven@donders.ru.nl)
Class Details
Superclasses dml.method
Sealed false
Construct on load false
Constructor Summary
one_against_rest one-against-rest binary classification.  
Property Summary
combfun 'borda' borda count 
indims dimensions of the input data (excluding the trial dim and time dim in time series data) 
mva used multivariate analysis 
nclasses number of classes 
restart when false, starts at the previously learned parameters; needed for online learning and grid search 
verbose whether or not to generate diagnostic output 
Method Summary
  model returns the following parameters: 
  test get posteriors for all pairs 
  train