BayGo: Joint Bayesian Learning and Information-Aware Graph Optimization