Why is learning from data even possible? To discuss this problem, we need a framework for learning. …