ibp: Define an Indian Buffet Process (IBP) Distribution for...

Description Usage Arguments Value Examples

View source: R/ibp.R

Description

This function specifies an Indian Buffet Process (IBP), which is a distribution over feature allocations.

Usage

1
ibp(mass, x)

Arguments

mass

The mass (a.k.a., concentration) parameter.

x

A character vector giving the labels of the items to place in a feature allocation, or an integer giving the number of items.

Value

An object representing an Indian Buffet Process (IBP) feature allocation distribution.

Examples

1
2
ibp(1,5)
ibp(1,c("CA","WI","NE","NY","UT"))

aibd documentation built on June 5, 2021, 1:06 a.m.

Related to ibp in aibd...