DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <fista.h>
Public Member Functions | |
T | eval (const Matrix< T > &W) const |
virtual T | fenchel (const Matrix< T > &input) const |
void | grad (const Matrix< T > &W, Matrix< T > &grad) const |
void | init (const Vector< T > &y) |
MultiLogLoss (const AbstractMatrixB< T > &X) | |
virtual void | var_fenchel (const Matrix< T > &W, Matrix< T > &grad1, Matrix< T > &grad2, const bool intercept) const |
virtual | ~MultiLogLoss () |
Public Member Functions inherited from spams::FISTA::Loss< T, Matrix< T > > | |
virtual bool | is_fenchel () const |
Loss () | |
virtual bool | test_backtracking (const Matrix< T > &y, const Matrix< T > &grad, const Matrix< T > &prox, const T L) const |
virtual | ~Loss () |
Private Member Functions | |
MultiLogLoss (const MultiLogLoss< T > &dict) | |
MultiLogLoss< T > & | operator= (const MultiLogLoss< T > &dict) |
Private Attributes | |
const AbstractMatrixB< T > * | _X |
Vector< int > | _y |
|
inline |
|
inlinevirtual |
|
explicitprivate |
|
inlinevirtual |
Implements spams::FISTA::Loss< T, Matrix< T > >.
Definition at line 700 of file fista.h.
References spams::Matrix< T >::multSwitch(), spams::Matrix< T >::n(), spams::Matrix< T >::refCol(), and spams::Vector< T >::softmax().
|
inlinevirtual |
Implements spams::FISTA::Loss< T, Matrix< T > >.
Definition at line 739 of file fista.h.
References spams::Matrix< T >::m(), spams::Matrix< T >::n(), spams::Matrix< T >::refCol(), and spams::xlogx().
|
inlinevirtual |
Implements spams::FISTA::Loss< T, Matrix< T > >.
Definition at line 712 of file fista.h.
References spams::Vector< T >::add(), spams::Vector< T >::exp(), spams::Vector< T >::fmax(), spams::Matrix< T >::m(), spams::Matrix< T >::multSwitch(), spams::Matrix< T >::n(), spams::Vector< T >::n(), spams::Matrix< T >::refCol(), spams::Matrix< T >::resize(), spams::Matrix< T >::scal(), spams::Vector< T >::scal(), spams::Vector< T >::setZeros(), and spams::Vector< T >::sum().
|
inlinevirtual |
Implements spams::FISTA::Loss< T, Matrix< T > >.
Definition at line 695 of file fista.h.
References spams::Vector< T >::n().
|
private |
|
inlinevirtual |
Implements spams::FISTA::Loss< T, Matrix< T > >.
Definition at line 755 of file fista.h.
References spams::Vector< T >::add(), spams::Vector< T >::exp(), spams::Matrix< T >::extractRow(), spams::Vector< T >::fmax(), spams::Matrix< T >::m(), spams::Matrix< T >::n(), spams::Vector< T >::n(), spams::Vector< T >::project_sft(), spams::Matrix< T >::refCol(), spams::Matrix< T >::resize(), spams::Matrix< T >::scal(), spams::Vector< T >::scal(), spams::Matrix< T >::setRow(), spams::Vector< T >::setZeros(), and spams::Vector< T >::sum().
|
private |
|
private |