gtmethod: aggregation methods for gtclust

gtmethod_wardR Documentation

aggregation methods for gtclust

Description

aggregation methods for gtclust

Usage

gtmethod_ward()

gtmethod_centroid()

gtmethod_median()

gtmethod_chisq()

gtmethod_bayes_mom(beta = 1, approx = FALSE)

gtmethod_bayes_dgmm(
  tau = 0.01,
  kappa = 1,
  beta = NaN,
  mu = as.matrix(NaN),
  approx = FALSE
)

gtmethod_bayes_dirichlet(lambda = as.matrix(NaN), approx = FALSE)

Arguments

beta

Prior parameter (gamma rate), (default to NaN, in this case beta will be estimated from data as 0.1 time the mean of X columns variances)

tau

Prior parameter (inverse variance), (default 0.01)

kappa

Prior parameter (gamma shape), (default to 1)

mu

Prior for the means (vector of size D), (default to NaN, in this case mu will be estimated from data as the mean of X)

lambda

Prior parameter (inverse variance), (default 0.01)

Value

An object of class gtmethod

Functions

  • gtmethod_ward: classical ward method

  • gtmethod_centroid: classical centroid method

  • gtmethod_median: classical median method

  • gtmethod_chisq: chi-square method

  • gtmethod_bayes_mom: bayesian mixture of multinomials

  • gtmethod_bayes_dgmm: bayesian diagonal gaussian mixture model

  • gtmethod_bayes_dirichlet: bayesian diagonal gaussian mixture model


comeetie/gtclust documentation built on Sept. 17, 2024, 12:45 a.m.