Description Usage Arguments Value Examples
Create an model object to be used in the dmm.cluster
function, using user given Julia functions. Must call dmm.addfile
to import files, in which the Julia functions are stored, before using dmm.cluster
on a JModel.
Functions dmm.JModel
and dmm.model
are alternatives.
1 2 | dmm.addfile(filename)
model <- dmm.JConjugateModel(pdf_name, sample_name, marg_name, params)
|
pdf_name |
A string. The name of the Julia function in |
sample_name |
A string. The name of the Julia function in |
marg_name |
A string. The name of the Julia function in |
params |
A list of all hyperparameters needed for the above three functions. |
isconjugate |
A logical. |
A model object of type JModel which can be passed to dmm.cluster
.
1 2 3 4 5 | dmm.addfile(filename)
# The following all make conjugate models using Julia functions
model <- dmm.model(pdf_name, sample_name, marg_name, params, isconjugate=TRUE)
model <- dmm.Jmodel(pdf_name, sample_name, marg_name, params, isconjugate=TRUE)
model <- dmm.JConjugateModel(pdf_name, sample_name, marg_name, params)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.