scorefunctiongmm: Score function for given GMM : calculates score function...

Description Usage Arguments Value Examples

View source: R/gmm.R

Description

Score function for given GMM : calculates score function dlogp(x)/dx for a given Gaussian Mixture Model

Usage

1
scorefunctiongmm(model = NULL, X = NULL)

Arguments

model

: The Gaussian Mixture Model

X

(n by d): The dataset of interest, where n is the number of samples and d is the dimension

Value

y : The score computed by the given function

Examples

1
2
3
4
# Compute score for a given gaussianmixture model and dataset
model <- gmm()
X <- rgmm(model)
score <- scorefunctiongmm(model=model, X=X)

Example output



KSD documentation built on Jan. 13, 2021, 8:39 a.m.