hdpState-class: hdpState class for a Hierarchical Dirichlet Process in one...

Description Usage Arguments Methods (by generic) Slots

Description

hdpState class for a Hierarchical Dirichlet Process in one state

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## S4 method for signature 'hdpState'
as.list(x, ...)

## S4 method for signature 'hdpState'
numdp(x, ...)

## S4 method for signature 'hdpState'
numconparam(x, ...)

## S4 method for signature 'hdpState'
base(x, ...)

## S4 method for signature 'hdpState'
conparam(x, ...)

## S4 method for signature 'hdpState'
dp(x, ...)

## S4 method for signature 'hdpState'
dpstate(x, ...)

## S4 method for signature 'hdpState'
ppindex(x, ...)

## S4 method for signature 'hdpState'
cpindex(x, ...)

## S4 method for signature 'hdpState'
numcateg(x, ...)

## S4 method for signature 'hdpState'
base_params(x, ...)

## S4 method for signature 'hdpState'
activating_seed(x, ...)

## S4 method for signature 'hdpState'
pseudoDP(x, ...)

Arguments

x

Object of class hdpState

...

unused

Methods (by generic)

Slots

numdp

number of DP nodes in the hierarchical Dirichlet Process

numconparam

number of concentration parameters

base

base distribution (hdpBase object)

conparam

concentration parameters (list of hdpConparam objects)

dp

DP nodes (list of hdpDP objects)

dpstate

state of DP nodes for posterior sampling process: active (2), frozen (1), or heldout (0)

ppindex

parent node index for each DP

cpindex

concentration parameter index for each DP

ttindex

DP index of those sharing a concentration parameter

initcc

number of initial clusters

seed_activate

random seed used to initiate cluster membership

pseudoDP

(Optional) index of pseudodata nodes (only if initialised via hdp_prior_init)


nicolaroberts/hdp documentation built on May 23, 2019, 5:09 p.m.