Creating x,y data for machine learning

Creating x,y data for machine learning