SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Regression_Weighted Class Reference

#include <mat_tools.h>

Public Member Functions

 CSG_Regression_Weighted (void)
virtual ~CSG_Regression_Weighted (void)
bool Destroy (void)
bool Add_Sample (double Weight, double Dependent, const CSG_Vector &Predictors)
int Get_Sample_Count (void) const
int Get_Predictor_Count (void) const
bool Calculate (const CSG_Vector &Weights, const CSG_Vector &Dependents, const CSG_Matrix &Predictors, bool bLogistic=false)
bool Calculate (bool bLogistic=false)
double Get_R2 (void) const
const CSG_VectorGet_RCoeff (void) const
double Get_RCoeff (int i) const
double operator[] (int i) const
int Get_Log_maxIter (void) const
double Get_Log_Epsilon (void) const
double Get_Log_Difference (void) const
bool Set_Log_maxIter (int maxIter)
bool Set_Log_Epsilon (double Epsilon)
bool Set_Log_Difference (double Difference)
bool Get_CrossValidation (int nSubSamples=0)
int Get_CV_nSamples (void) const
double Get_CV_RMSE (void) const
double Get_CV_NRMSE (void) const
double Get_CV_R2 (void) const

Detailed Description

Definition at line 1807 of file mat_tools.h.

Constructor & Destructor Documentation

◆ CSG_Regression_Weighted()

CSG_Regression_Weighted::CSG_Regression_Weighted ( void )

Definition at line 63 of file mat_regression_weighted.cpp.

◆ ~CSG_Regression_Weighted()

CSG_Regression_Weighted::~CSG_Regression_Weighted ( void )
virtual

Definition at line 73 of file mat_regression_weighted.cpp.

References Destroy().

Member Function Documentation

◆ Add_Sample()

bool CSG_Regression_Weighted::Add_Sample ( double Weight,
double Dependent,
const CSG_Vector & Predictors )

Definition at line 97 of file mat_regression_weighted.cpp.

References CSG_Vector::Get_N().

Referenced by Calculate().

◆ Calculate() [1/2]

bool CSG_Regression_Weighted::Calculate ( bool bLogistic = false)

◆ Calculate() [2/2]

bool CSG_Regression_Weighted::Calculate ( const CSG_Vector & Weights,
const CSG_Vector & Dependents,
const CSG_Matrix & Predictors,
bool bLogistic = false )

◆ Destroy()

bool CSG_Regression_Weighted::Destroy ( void )

Definition at line 79 of file mat_regression_weighted.cpp.

Referenced by Calculate(), and ~CSG_Regression_Weighted().

◆ Get_CrossValidation()

bool CSG_Regression_Weighted::Get_CrossValidation ( int nSubSamples = 0)

Definition at line 425 of file mat_regression_weighted.cpp.

◆ Get_CV_NRMSE()

double CSG_Regression_Weighted::Get_CV_NRMSE ( void ) const
inline

Definition at line 1841 of file mat_tools.h.

◆ Get_CV_nSamples()

int CSG_Regression_Weighted::Get_CV_nSamples ( void ) const
inline

Definition at line 1839 of file mat_tools.h.

◆ Get_CV_R2()

double CSG_Regression_Weighted::Get_CV_R2 ( void ) const
inline

Definition at line 1842 of file mat_tools.h.

◆ Get_CV_RMSE()

double CSG_Regression_Weighted::Get_CV_RMSE ( void ) const
inline

Definition at line 1840 of file mat_tools.h.

◆ Get_Log_Difference()

double CSG_Regression_Weighted::Get_Log_Difference ( void ) const
inline

Definition at line 1830 of file mat_tools.h.

◆ Get_Log_Epsilon()

double CSG_Regression_Weighted::Get_Log_Epsilon ( void ) const
inline

Definition at line 1829 of file mat_tools.h.

◆ Get_Log_maxIter()

int CSG_Regression_Weighted::Get_Log_maxIter ( void ) const
inline

Definition at line 1828 of file mat_tools.h.

◆ Get_Predictor_Count()

int CSG_Regression_Weighted::Get_Predictor_Count ( void ) const
inline

Definition at line 1817 of file mat_tools.h.

◆ Get_R2()

double CSG_Regression_Weighted::Get_R2 ( void ) const
inline

Definition at line 1822 of file mat_tools.h.

◆ Get_RCoeff() [1/2]

double CSG_Regression_Weighted::Get_RCoeff ( int i) const
inline

Definition at line 1824 of file mat_tools.h.

◆ Get_RCoeff() [2/2]

const CSG_Vector & CSG_Regression_Weighted::Get_RCoeff ( void ) const
inline

Definition at line 1823 of file mat_tools.h.

◆ Get_Sample_Count()

int CSG_Regression_Weighted::Get_Sample_Count ( void ) const
inline

Definition at line 1816 of file mat_tools.h.

◆ operator[]()

double CSG_Regression_Weighted::operator[] ( int i) const
inline

Definition at line 1825 of file mat_tools.h.

◆ Set_Log_Difference()

bool CSG_Regression_Weighted::Set_Log_Difference ( double Difference)

Definition at line 261 of file mat_regression_weighted.cpp.

◆ Set_Log_Epsilon()

bool CSG_Regression_Weighted::Set_Log_Epsilon ( double Epsilon)

Definition at line 248 of file mat_regression_weighted.cpp.

◆ Set_Log_maxIter()

bool CSG_Regression_Weighted::Set_Log_maxIter ( int maxIter)

Definition at line 235 of file mat_regression_weighted.cpp.


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