|
| template<domain D :shared3p > |
| GLMResult< D, float32 > | generalizedLinearModel (D int32 dependent, D int32 variables, int64 family, uint iterations) |
| |
| template<domain D :shared3p > |
| GLMResult< D, float64 > | generalizedLinearModel (D int64 dependent, D int64 variables, int64 family, uint iterations) |
| |
| template<domain D :shared3p > |
| GLMResult< D, float32 > | generalizedLinearModel (D float32 dependent, D float32 variables, int64 family, uint iterations) |
| |
| template<domain D :shared3p > |
| GLMResult< D, float64 > | generalizedLinearModel (D float64 dependent, D float64 variables, int64 family, uint iterations) |
| |
Fitting of generalized linear models.
- Note
- D - shared3p protection domain
-
Supported types - int32 / int64 / float32 / float64
-
You can pass an empty matrix as the variables argument to specify a null model with just intercept.
- Parameters
-
| dependent | - sample vector of the dependent variable |
| variables | - a matrix where each column is a sample of an explanatory variable |
| family | - indicates the distribution of the dependent variable |
| iterations | - number of iterations of the GLM algorithm |
- Returns
- GLMResult structure
- Leakage
- None
◆ generalizedLinearModel() [1/4]
template<domain D :shared3p >
| GLMResult< D, float32 > generalizedLinearModel |
( |
D float32 |
dependent, |
|
|
D float32 |
variables, |
|
|
int64 |
family, |
|
|
uint |
iterations |
|
) |
| |
◆ generalizedLinearModel() [2/4]
template<domain D :shared3p >
| GLMResult< D, float64 > generalizedLinearModel |
( |
D float64 |
dependent, |
|
|
D float64 |
variables, |
|
|
int64 |
family, |
|
|
uint |
iterations |
|
) |
| |
◆ generalizedLinearModel() [3/4]
template<domain D :shared3p >
| GLMResult< D, float32 > generalizedLinearModel |
( |
D int32 |
dependent, |
|
|
D int32 |
variables, |
|
|
int64 |
family, |
|
|
uint |
iterations |
|
) |
| |
◆ generalizedLinearModel() [4/4]
template<domain D :shared3p >
| GLMResult< D, float64 > generalizedLinearModel |
( |
D int64 |
dependent, |
|
|
D int64 |
variables, |
|
|
int64 |
family, |
|
|
uint |
iterations |
|
) |
| |