Sample code for ML in action