Real world systems are complicated. In theory, you could do belief propagation to update your beliefs through the whole network, if your brain worked something like a Bayesian network.
Alternatively, brains ARE Bayesian networks with hard coded priors that cannot be changed without CRISPR.