Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-nemeth committed Sep 24, 2019
1 parent 7d466c4 commit b8c5aeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ The package has a number of *mean*, *kernel* and *likelihood* functions availabl

### Inference

The parameters of the model can be estimated by maximizing the log-likelihood (where the latent function is integrated out) using the `optimize!` function, or in the case of *non-Gaussian data*, an `mcmc` function is available, utilizing the Hamiltonian Monte Carlo sampler, and can be used to infer the model parameters and latent function values.
The parameters of the model can be estimated by maximizing the log-likelihood (where the latent function is integrated out) using the `optimize!` function, or in the case of *non-Gaussian data*, an `mcmc` function is available, utilizing the Hamiltonian Monte Carlo sampler, or a variational approximation can be used to infer the model parameters and latent function values.
```julia
optimize!(gp) # Find parameters which maximize the log-likelihood
mcmc(gp) # Sample from the GP posterior
vi(gp) # Create a variational approximation
```
See the [notebooks](https://github.com/STOR-i/GaussianProcesses.jl/tree/master/notebooks) for examples of the functions used in the package.

Expand Down

0 comments on commit b8c5aeb

Please sign in to comment.