DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <fista.h>
Public Member Functions | |
T | eval (const Vector< T > &x) const |
T | eval_split (const SpMatrix< T > &input) const |
T | eval_weighted (const Vector< T > &input, const SpMatrix< T > &input_struct, const T *inner_weight) const |
void | fenchel (const Vector< T > &input, T &val, T &scal) const |
GraphLasso (const ParamReg< T > ¶m) | |
virtual void | init (const Vector< T > &y) |
void | init_split_variables (SpMatrix< T > &splitted_w) const |
virtual bool | is_fenchel () const |
int | num_components () const |
void | prox (const Vector< T > &x, Vector< T > &y, const T lambda) |
void | prox_split (SpMatrix< T > &splitted_w, const T lambda) const |
void | reset () |
virtual | ~GraphLasso () |
Public Member Functions inherited from spams::FISTA::Regularizer< T > | |
virtual T | eval_dual_norm (const Vector< T > &x) const |
virtual T | eval_dual_norm_paths (const Vector< T > &x, SpMatrix< T > &path) const |
virtual T | eval_paths (const Vector< T > &x, SpMatrix< T > &paths_mat) const |
virtual bool | is_intercept () const |
virtual bool | is_subgrad () const |
Regularizer () | |
Regularizer (const ParamReg< T > ¶m) | |
virtual void | sub_grad (const Vector< T > &input, Vector< T > &output) const |
virtual | ~Regularizer () |
Public Member Functions inherited from spams::FISTA::SplittingFunction< T, SpMatrix< T > > | |
virtual void | add_mult_design_matrix (const Vector< T > &prim, Vector< T > &out, const T fact) const |
virtual void | compute_new_prim (Vector< T > &prim, const Vector< T > &prim_var, const Vector< T > &dual_var, const T gamma, const T delta) const |
virtual void | init_prim_var (Vector< T > &prim_var) const |
virtual void | prox_prim_var (Vector< T > &out, const Vector< T > &dual_var, const Vector< T > &prim_var, const T gamma) const |
SplittingFunction () | |
virtual | ~SplittingFunction () |
Private Attributes | |
bool | _clever |
Graph< T > | _graph |
bool | _linf |
T | _old_lambda |
bool | _resetflow |
Vector< T > | _weights |
Vector< T > | _work |
Additional Inherited Members | |
Protected Attributes inherited from spams::FISTA::Regularizer< T > | |
bool | _intercept |
bool | _pos |
|
inline |
Definition at line 1381 of file fista.h.
References spams::FISTA::ParamFISTA< T >::clever, spams::FISTA::ParamReg< T >::clever, spams::GraphStruct< T >::gg_ir, spams::GraphStruct< T >::gg_jc, spams::FISTA::ParamReg< T >::graph_st, spams::GraphStruct< T >::gv_ir, spams::GraphStruct< T >::gv_jc, spams::FISTA::ParamReg< T >::linf, spams::GraphStruct< T >::Ng, spams::GraphStruct< T >::Nv, spams::FISTA::ParamFISTA< T >::resetflow, spams::FISTA::ParamReg< T >::resetflow, and spams::GraphStruct< T >::weights.
|
inlinevirtual |
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1430 of file fista.h.
References spams::Graph< T >::norm(), spams::Vector< T >::rawX(), and spams::Graph< T >::restore_capacities().
Referenced by spams::FISTA::dualityGraph().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1488 of file fista.h.
References spams::SpVector< T >::fmaxval(), spams::SpMatrix< T >::n(), spams::SpVector< T >::nrm2(), and spams::SpMatrix< T >::refCol().
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1497 of file fista.h.
References spams::Vector< T >::fmaxval(), spams::SpVector< T >::L(), spams::SpMatrix< T >::m(), spams::SpMatrix< T >::n(), spams::SpVector< T >::r(), and spams::SpMatrix< T >::refCol().
|
inlinevirtual |
returns phi^star( input ) and ouput=input if the fenchel is unconstrained returns 0 and scale input such that phi^star(output)=0 otherwise
Implements spams::FISTA::Regularizer< T >.
Definition at line 1438 of file fista.h.
References spams::Vector< T >::copy(), spams::Graph< T >::dual_norm_inf(), EPSILON, INFINITY, spams::Vector< T >::n(), spams::Graph< T >::reset_flow(), spams::Graph< T >::restore_capacities(), spams::Graph< T >::restore_flow(), spams::Graph< T >::save_flow(), and spams::Vector< T >::thrsPos().
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1456 of file fista.h.
Referenced by spams::FISTA::dualityGraph().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1484 of file fista.h.
References spams::Graph< T >::init_split_variables().
|
inlinevirtual |
Reimplemented from spams::FISTA::Regularizer< T >.
|
inlinevirtual |
|
inlinevirtual |
Implements spams::FISTA::Regularizer< T >.
Definition at line 1401 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::dot(), spams::FISTA::ParamFISTA< T >::eval, spams::FISTA::ParamFISTA< T >::lambda, spams::Vector< T >::nrm2sq(), spams::Vector< T >::rawX(), and spams::Vector< T >::thrsPos().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
Definition at line 1458 of file fista.h.
References spams::Vector< T >::copy(), spams::FISTA::ParamFISTA< T >::lambda, spams::Vector< T >::n(), spams::SpMatrix< T >::n(), spams::Vector< T >::nrm2(), spams::SpVector< T >::nzmax(), spams::project_tree_l1(), spams::Vector< T >::rawX(), spams::SpVector< T >::rawX(), spams::SpMatrix< T >::refCol(), spams::Vector< T >::scal(), spams::Vector< T >::setData(), spams::Vector< T >::setZeros(), and spams::Vector< T >::thrsabsmin().
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T, SpMatrix< T > >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |