SHOGUN  v3.2.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
MKLMulticlassOptimizationBase.cpp
浏览该文件的文档.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2009 Alexander Binder
8  * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society
9  */
10 
12 
13 using namespace shogun;
14 
16 {
17 
18 }
20 {
21 
22 }
23 
24 
25 
26 void MKLMulticlassOptimizationBase::setup(const int32_t numkernels2)
27 {
28  SG_ERROR("class MKLMultiOptimizationBase, method not implemented in derivedclass")
29 
30 }
31 
33 {
34  //deliberately no error here
35  SG_WARNING("class MKLMultiOptimizationBase, method set_mkl_norm() not implemented in derived class, has no effect")
36 }
37 
38 void MKLMulticlassOptimizationBase::addconstraint(const ::std::vector<float64_t> & normw2,
39  const float64_t sumofpositivealphas)
40 {
41  SG_ERROR("class MKLMultiOptimizationBase, method not implemented in derivedclass")
42 
43 }
44 
45 
46 
47 void MKLMulticlassOptimizationBase::computeweights(std::vector<float64_t> & weights2)
48 {
49  SG_ERROR("class MKLMultiOptimizationBase, method not implemented in derivedclass")
50 }
double norm(double *v, double p, int n)
Definition: epph.cpp:452
#define SG_ERROR(...)
Definition: SGIO.h:131
virtual void setup(const int32_t numkernels2)
virtual void addconstraint(const ::std::vector< float64_t > &normw2, const float64_t sumofpositivealphas)
double float64_t
Definition: common.h:48
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:16
#define SG_WARNING(...)
Definition: SGIO.h:130
virtual void computeweights(std::vector< float64_t > &weights2)

SHOGUN Machine Learning Toolbox - Documentation