32 #ifndef PNORMMAPPINGFUNCTION_H
33 #define PNORMMAPPINGFUNCTION_H
59 virtual const char*
get_name()
const {
return "PNormMappingFunction"; }
The base mapping function for mirror descend.
virtual ~PNormMappingFunction()
virtual SGVector< float64_t > get_dual_variable(SGVector< float64_t > variable)
virtual void projection(SGVector< float64_t > input, SGVector< float64_t > output, float64_t degree)
all of classes and functions are contained in the shogun namespace
This implements the P-norm mapping/projection function.
virtual void update_variable(SGVector< float64_t > variable, SGVector< float64_t > dual_variable)
virtual void set_norm(float64_t p)
virtual const char * get_name() const