11 #ifndef MKLMULTICLASSGRADIENT_H_
12 #define MKLMULTICLASSGRADIENT_H_
56 virtual void setup(
const int32_t numkernels2);
66 virtual void addconstraint(const ::std::vector<float64_t> & normw2,
79 return "MKLMulticlassGradient";
94 void genbetas( ::std::vector<float64_t> & weights ,const ::std::vector<float64_t> & gammas);
103 void gengammagradient( ::std::vector<float64_t> & gammagradient ,const ::std::vector<float64_t> & gammas,
const int32_t dim);
118 void linesearch(std::vector<float64_t> & finalbeta,
const std::vector<float64_t> & oldweights);