function Class Reference

Inheritance diagram for function:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual float64_t fun (float64_t *w)=0
virtual void grad (float64_t *w, float64_t *g)=0
virtual void Hv (float64_t *s, float64_t *Hs)=0
virtual int32_t get_nr_variable (void)=0
virtual ~function (void)


Detailed Description

class function

Definition at line 10 of file Tron.h.


Constructor & Destructor Documentation

virtual function::~function ( void   )  [virtual]

Definition at line 48 of file Tron.h.


Member Function Documentation

virtual float64_t function::fun ( float64_t w  )  [pure virtual]

fun

abstract base method

Parameters:
w w
Returns:
something floaty

Implemented in l2loss_svm_fun, and l2_lr_fun.

virtual int32_t function::get_nr_variable ( void   )  [pure virtual]

get nr variable

abstract base method

Returns:
something inty

Implemented in l2loss_svm_fun, and l2_lr_fun.

virtual void function::grad ( float64_t w,
float64_t g 
) [pure virtual]

grad

abstract base method

Parameters:
w w
g g

Implemented in l2loss_svm_fun, and l2_lr_fun.

virtual void function::Hv ( float64_t s,
float64_t Hs 
) [pure virtual]

Hv

abstract base method

Parameters:
s s
Hs hs

Implemented in l2loss_svm_fun, and l2_lr_fun.


The documentation for this class was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation