Undergraduate fundamental for machine learning