DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <fista.h>
Public Member Functions | |
T | eval (const Vector< T > &w) const |
virtual T | fenchel (const Vector< T > &input) const |
void | grad (const Vector< T > &w, Vector< T > &grad) const |
void | init (const Vector< T > &y) |
virtual bool | is_fenchel () const |
LogLoss (const AbstractMatrixB< T > &X) | |
virtual void | var_fenchel (const Vector< T > &w, Vector< T > &grad1, Vector< T > &grad2, const bool intercept) const |
virtual | ~LogLoss () |
Public Member Functions inherited from spams::FISTA::Loss< T > | |
Loss () | |
virtual bool | test_backtracking (const Vector< T > &y, const Vector< T > &grad, const Vector< T > &prox, const T L) const |
virtual | ~Loss () |
Private Member Functions | |
LogLoss (const LogLoss< T, weighted > &dict) | |
LogLoss< T, weighted > & | operator= (const LogLoss< T, weighted > &dict) |
Private Attributes | |
T | _weightneg |
T | _weightpos |
const AbstractMatrixB< T > * | _X |
Vector< T > | _y |
|
inline |
|
inlinevirtual |
|
explicitprivate |
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 607 of file fista.h.
References spams::Vector< T >::n(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 645 of file fista.h.
References spams::Vector< T >::n(), and spams::xlogx().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 624 of file fista.h.
References spams::Vector< T >::n(), spams::Vector< T >::scal(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 596 of file fista.h.
References MAX, and spams::Vector< T >::n().
|
inlinevirtual |
Reimplemented from spams::FISTA::Loss< T >.
|
private |
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 662 of file fista.h.
References spams::Vector< T >::add(), spams::Vector< T >::exp(), spams::Vector< T >::inv(), spams::Vector< T >::mult(), spams::Vector< T >::n(), spams::Vector< T >::neg(), spams::Vector< T >::project_sft_binary(), spams::Vector< T >::resize(), spams::Vector< T >::scal(), and spams::Vector< T >::toSparse().
|
private |
|
private |
|
private |
|
private |