Skip to content

Commit

Permalink
MAP too
Browse files Browse the repository at this point in the history
  • Loading branch information
dswatson committed Jul 31, 2023
1 parent 187968c commit 469974e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,16 @@ To generate 100 synthetic samples:
forge(psi, 100)
```

### MAP estimation
To estimate the most likely values for variables conditional on some evidence, say, `Species = "setosa"`:
```R
evi <- data.frame(Species = "setosa")
map(psi, evidence = evi)
```

For more detailed examples, see the package [vignette](https://bips-hb.github.io/arf/articles/vignette.html).

## Other distributions
## Python library
A Python implementation of ARF, `arfpy`, is available on [PyPI](https://pypi.org/project/arfpy/). For the development version, see [here](https://github.com/bips-hb/arfpy).

## References
Expand Down

0 comments on commit 469974e

Please sign in to comment.