How and what to learn:The modes of machine learning