ECOCPAK v0.9
Functions
Fn_one_vs_one

Functions

u32 ecocpak::one_vs_one (const mat &training_samples, const icolvec &training_labels, const mat &testing_samples, const icolvec &testing_labels, const int decoding_strategy, const int classifiers_type, const bool verbose, ofstream &verbose_output, double &execution_time)

Function Documentation

u32 ecocpak::one_vs_one ( const mat &  training_samples,
const icolvec &  training_labels,
const mat &  testing_samples,
const icolvec &  testing_labels,
const int  decoding_strategy,
const int  classifiers_type,
const bool  verbose,
ofstream &  verbose_output,
double &  execution_time 
)
  • Error Correcting Output Codes One vs One training and testing procedure
  • Input Arguments:
    • training_samples : A 2D input matrix where its rows represent training sample vectors.
    • training_labels : The respective class labels of training_samples input matrix.
    • testing_samples : A 2D input matrix where its rows represents testing sample vectors.
    • testing_labels : The respective class labels of testing_samples input matrix.
    • decoding_strategy : User's option specifying the type of decoding methode that will be used.
    • classifiers_type : Type of classifier.
  • Output Arguments:
    • coding_matrix : Coding matrix.
    • classifiers_vector : Vector of classifiers objects.
    • execution_time : Execution time.
  • Return Arguments:
    • Number of misclassified test samples.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines