write some little examples for machine learning