Bayesian Recognition Procedures on Networks