SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ECOCLLBDecoder.cpp
浏览该文件的文档.
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 }
index_t vlen
Definition: SGVector.h:494
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual float64_t compute_distance(SGVector< float64_t > outputs, const int32_t *code)

SHOGUN 机器学习工具包 - 项目文档