Fundamental of machine learning