This GitHub repository includes some of the simulation studies and data analysis included in the paper: Author. (2024). Bayesian Inference for Spatial Data on a Lattice Using Convolutional Neural Networks.
Guidelines for running each of the parameters & data simulations and CNN training steps are provided in their respective directories.
data_sim.R
: simulate Ising, potts, and the autologistic modeldata_sim.cpp
: C++ function to generate Ising, and autologistic model
data_sim.R
: simulate Ising, potts, and the autologistic model
data_sim.R
: simulate Ising, potts, and the autologistic model