Foundations of Data Science