summary.DPMMclust: Summarizing Dirichlet Process Mixture Models

Description Usage Arguments Details Value Author(s) See Also

View source: R/summary.DPMMclust.R

Description

Summary methods for DPMMclust objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'DPMMclust'
summary(
  object,
  burnin = 0,
  thin = 1,
  gs = NULL,
  lossFn = "F-measure",
  posterior_approx = FALSE,
  ...
)

Arguments

object

a DPMMclust object.

burnin

integer giving the number of MCMC iterations to burn (defaults is half)

thin

integer giving the spacing at which MCMC iterations are kept. Default is 1, i.e. no thining.

gs

optional vector of length n containing the gold standard partition of the n observations to compare to the point estimate

lossFn

character string specifying the loss function to be used. Either "F-measure" or "Binder" (see Details). Default is "F-measure".

posterior_approx

logical flag whether a parametric approximation of the posterior should be computed. Default is FALSE

...

further arguments passed to or from other methods

Details

The cost of a point estimate partition is calculated using either a pairwise coincidence loss function (Binder), or 1-Fmeasure (F-measure).

The number of retained sampled partitions is m = (N - burnin)/thin

Value

a list containing the following elements:

Author(s)

Boris Hejblum

See Also

similarityMat similarityMatC


NPflow documentation built on Feb. 6, 2020, 5:15 p.m.