Mapping phase transitions in a binary sparse coding model via Gibbs sampling. This project investigates whether neural population codes operate near a critical point, and what drives that criticality.