Skylark (Sketching Library)  0.1
Public Member Functions
lossfunction Class Reference

#include <FunctionProx.hpp>

Inheritance diagram for lossfunction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual double evaluate (LocalDenseMatrixType &O, LocalTargetMatrixType &T)=0
virtual void proxoperator (LocalDenseMatrixType &X, double lambda, LocalTargetMatrixType &T, LocalDenseMatrixType &Y)=0
virtual ~lossfunction (void)

Detailed Description

Definition at line 26 of file FunctionProx.hpp.


Constructor & Destructor Documentation

virtual lossfunction::~lossfunction ( void  ) [inline, virtual]

Definition at line 32 of file FunctionProx.hpp.


Member Function Documentation

virtual double lossfunction::evaluate ( LocalDenseMatrixType O,
LocalTargetMatrixType T 
) [pure virtual]

Implemented in logisticloss, hingeloss, ladloss, and squaredloss.

virtual void lossfunction::proxoperator ( LocalDenseMatrixType X,
double  lambda,
LocalTargetMatrixType T,
LocalDenseMatrixType Y 
) [pure virtual]

Implemented in logisticloss, hingeloss, ladloss, and squaredloss.


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