Bayesian and machine learning approaches in metagenomics