OpenMS
EmgGradientDescent_friend Class Reference

#include <OpenMS/MATH/MISC/EmgGradientDescent.h>

Collaboration diagram for EmgGradientDescent_friend:
[legend]

Public Member Functions

 EmgGradientDescent_friend ()=default
 
 ~EmgGradientDescent_friend ()=default
 
double Loss_function (const std::vector< double > &xs, const std::vector< double > &ys, const double h, const double mu, const double sigma, const double tau) const
 
double computeMuMaxDistance (const std::vector< double > &xs) const
 
void extractTrainingSet (const std::vector< double > &xs, const std::vector< double > &ys, std::vector< double > &TrX, std::vector< double > &TrY) const
 
double computeInitialMean (const std::vector< double > &xs, const std::vector< double > &ys) const
 
void iRpropPlus (const double prev_diff_E_param, double &diff_E_param, double &param_lr, double &param_update, double &param, const double current_E, const double previous_E) const
 
double compute_z (const double x, const double mu, const double sigma, const double tau) const
 
void applyEstimatedParameters (const std::vector< double > &xs, const double h, const double mu, const double sigma, const double tau, std::vector< double > &out_xs, std::vector< double > &out_ys) const
 
double emg_point (const double x, const double h, const double mu, const double sigma, const double tau) const
 

Public Attributes

EmgGradientDescent emg_gd_
 

Constructor & Destructor Documentation

◆ EmgGradientDescent_friend()

◆ ~EmgGradientDescent_friend()

Member Function Documentation

◆ applyEstimatedParameters()

void applyEstimatedParameters ( const std::vector< double > &  xs,
const double  h,
const double  mu,
const double  sigma,
const double  tau,
std::vector< double > &  out_xs,
std::vector< double > &  out_ys 
) const
inline

◆ compute_z()

double compute_z ( const double  x,
const double  mu,
const double  sigma,
const double  tau 
) const
inline

◆ computeInitialMean()

double computeInitialMean ( const std::vector< double > &  xs,
const std::vector< double > &  ys 
) const
inline

◆ computeMuMaxDistance()

double computeMuMaxDistance ( const std::vector< double > &  xs) const
inline

◆ emg_point()

double emg_point ( const double  x,
const double  h,
const double  mu,
const double  sigma,
const double  tau 
) const
inline

◆ extractTrainingSet()

void extractTrainingSet ( const std::vector< double > &  xs,
const std::vector< double > &  ys,
std::vector< double > &  TrX,
std::vector< double > &  TrY 
) const
inline

◆ iRpropPlus()

void iRpropPlus ( const double  prev_diff_E_param,
double &  diff_E_param,
double &  param_lr,
double &  param_update,
double &  param,
const double  current_E,
const double  previous_E 
) const
inline

◆ Loss_function()

double Loss_function ( const std::vector< double > &  xs,
const std::vector< double > &  ys,
const double  h,
const double  mu,
const double  sigma,
const double  tau 
) const
inline

Member Data Documentation

◆ emg_gd_