% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/svgd.R
\name{create_multivariate_model}
\alias{create_multivariate_model}
\title{Create multivariate PMF/PDF model from graph}
\usage{
create_multivariate_model(graph, nr_moments, discrete = FALSE)
}
\arguments{
\item{graph}{Graph object (parameterized)}

\item{nr_moments}{Integer number of moments to compute}

\item{discrete}{Logical, whether distribution is discrete (default FALSE)}
}
\value{
Model function for multivariate inference
}
\description{
Creates a multivariate probability model with moment regularization
for SVGD inference.
}
\examples{
\dontrun{
graph <- create_graph(callback = my_callback, parameterized = TRUE, nr_samples = 5)
model <- create_multivariate_model(graph, nr_moments = 2, discrete = FALSE)
}

}
