Test code for the learner of machine learning The code should be as plain as possible. The less abstraction in programming language the better!