Real or virtual? The two faces of machine learning