fix machine learning notes bug