Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scorefunctiongmm

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


Description

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

Usage

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

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

KSD

Goodness-of-Fit Tests using Kernelized Stein Discrepancy

v1.0.1
MIT + file LICENSE
Authors
Min Hyung Kang [aut, cre], Qiang Liu [aut]
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.