ECOCPAK v0.9
Functions
Fn_custom_decoding

Functions

double ecocpak::custom_metric (rowvec test_code, rowvec class_code)
u32 ecocpak::custom_decoding (const vector< Classifier * > &classifiers_vector, const vector< ClassData > &classes_vector, const imat &coding_matrix, const mat &test_samples, const ucolvec &test_set_labels, uvec &predictions, umat &confussion)
u32 custom_decoding (const vector< Classifier * > &classifiers_vector, const vector< ClassData > &classes_vector, const imat &coding_matrix, const mat &test_samples, const ucolvec &test_set_labels, uvec &predictions, umat &confussion)

Function Documentation

u32 ecocpak::custom_decoding ( const vector< Classifier * > &  classifiers_vector,
const vector< ClassData > &  classes_vector,
const imat &  coding_matrix,
const mat &  test_samples,
const ucolvec &  test_set_labels,
uvec &  predictions,
umat &  confussion 
)
  • User custom decoding strategy -- main procedure.
  • Input Arguments:
    • classifiers_vector : Vector of classifiers.
    • classes_vector : Vector of classes.
    • coding_matrix : Coding matrix.
    • test_set_samples : 2D matrix of test samples
    • test_set_labels : Labels vector of test samples.
  • Outputs Arguments:
    • Void.
  • Return Argument:
    • Integral value which denotes the number of misclassified test samples.
u32 custom_decoding ( const vector< Classifier * > &  classifiers_vector,
const vector< ClassData > &  classes_vector,
const imat &  coding_matrix,
const mat &  test_samples,
const ucolvec &  test_set_labels,
uvec &  predictions,
umat &  confussion 
)
  • User custom decoding strategy -- main procedure.
  • Input Arguments:
    • classifiers_vector : Vector of classifiers.
    • classes_vector : Vector of classes.
    • coding_matrix : Coding matrix.
    • test_set_samples : 2D matrix of test samples
    • test_set_labels : Labels vector of test samples.
  • Outputs Arguments:
    • Void.
  • Return Argument:
    • Integral value which denotes the number of misclassified test samples.
double ecocpak::custom_metric ( rowvec  test_code,
rowvec  class_code 
)
  • User custom decoding measure.
  • Input Arguments:
    • test_code : Codeword of test sample.
    • class_code : Codeword of class sample.
  • Output Arguments:
    • Void.
  • Return Argument:
    • Distance between input codewords, according to user decoding metric -- measure.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines