SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ECOCLLBDecoder.cpp
Go to the documentation of this file.
2 
3 using namespace shogun;
4 
6 {
7  float64_t loss = 0;
8  for (int32_t i=0; i < outputs.vlen; ++i)
9  loss += outputs[i]*code[i];
10  return -loss;
11 }

SHOGUN Machine Learning Toolbox - Documentation