Bayesian Topological Learning for Classifying the Structure of Biological Networks