Thesis docs
Loading...
Searching...
No Matches
Params Struct Reference

Structure containing all parameters needed for the NGGP (Normalized Generalized Gamma Process) and DP (Dirichlet Process) model. More...

#include <Params.hpp>

Public Member Functions

 Params (double delta1=0.5, double alpha=2, double beta=2, double delta2=2, double gamma=2, double zeta=2, int BI=1000, int NI=10000, double a=1.0, double sigma=1.0, double tau=1.0, double coefficient=1, Eigen::MatrixXi W=Eigen::MatrixXi())
 Constructor with default parameter values.
 

Public Attributes

double delta1
 Shape parameter for the first gamma distribution prior.
 
double alpha
 Shape parameter for the lambda_k gamma distribution.
 
double beta
 Rate parameter for the lambda_k gamma distribution.
 
double delta2
 Shape parameter for the second gamma distribution prior.
 
double gamma
 Shape parameter for the theta_kt gamma distribution.
 
double zeta
 Rate parameter for the theta_kt gamma distribution.
 
int BI
 Number of burn-in iterations to discard for chain convergence.
 
int NI
 Number of iterations after burn-in for posterior sampling.
 
double a
 Total mass parameter of the NGGP (controls number of clusters)
 
double sigma
 Second parameter of the NGGP (controls cluster sizes)
 
double tau
 Third parameter of the NGGP (controls tail behavior)
 
double coefficient
 Coefficient controlling the strength of spatial dependency.
 
Eigen::MatrixXi W
 Adjacency matrix defining spatial neighborhood structure.
 

Detailed Description

Structure containing all parameters needed for the NGGP (Normalized Generalized Gamma Process) and DP (Dirichlet Process) model.

This structure holds all the hyperparameters, model parameters, and configuration settings required for running the DP and NGGP Bayesian nonparametric model with and without spatial dependency.

The parameters are organized into several categories:

  • Distribution hyperparameters for gamma priors (delta1, alpha, beta, delta2, gamma, zeta)
  • Simulation control parameters (BI, NI)
  • NGGP process parameters (a, sigma, tau)
  • Spatial dependency parameters (coefficient, W)

Constructor & Destructor Documentation

◆ Params()

Params::Params ( double delta1 = 0.5,
double alpha = 2,
double beta = 2,
double delta2 = 2,
double gamma = 2,
double zeta = 2,
int BI = 1000,
int NI = 10000,
double a = 1.0,
double sigma = 1.0,
double tau = 1.0,
double coefficient = 1,
Eigen::MatrixXi W = Eigen::MatrixXi() )
inline

Constructor with default parameter values.

Parameters
delta1Shape parameter for first gamma prior (default: 0.5)
alphaShape parameter for lambda_k gamma distribution (default: 2)
betaRate parameter for lambda_k gamma distribution (default: 2)
delta2Shape parameter for second gamma prior (default: 2)
gammaShape parameter for theta_kt gamma distribution (default: 2)
zetaRate parameter for theta_kt gamma distribution (default: 2)
BINumber of burn-in iterations (default: 1000)
NINumber of post burn-in iterations (default: 10000)
aNGGP total mass parameter (default: 1.0)
sigmaNGGP second parameter (default: 1.0)
tauNGGP third parameter (default: 1.0)
coefficientSpatial dependency coefficient (default: 1)
WAdjacency matrix (default: empty matrix)

Member Data Documentation

◆ a

double Params::a

Total mass parameter of the NGGP (controls number of clusters)

◆ alpha

double Params::alpha

Shape parameter for the lambda_k gamma distribution.

◆ beta

double Params::beta

Rate parameter for the lambda_k gamma distribution.

◆ BI

int Params::BI

Number of burn-in iterations to discard for chain convergence.

◆ coefficient

double Params::coefficient

Coefficient controlling the strength of spatial dependency.

◆ delta1

double Params::delta1

Shape parameter for the first gamma distribution prior.

◆ delta2

double Params::delta2

Shape parameter for the second gamma distribution prior.

◆ gamma

double Params::gamma

Shape parameter for the theta_kt gamma distribution.

◆ NI

int Params::NI

Number of iterations after burn-in for posterior sampling.

◆ sigma

double Params::sigma

Second parameter of the NGGP (controls cluster sizes)

◆ tau

double Params::tau

Third parameter of the NGGP (controls tail behavior)

◆ W

Eigen::MatrixXi Params::W

Adjacency matrix defining spatial neighborhood structure.

◆ zeta

double Params::zeta

Rate parameter for the theta_kt gamma distribution.


The documentation for this struct was generated from the following file: