Update sample.py

Sample !! Create data and send it to model for fitting . Then predict using that model and results are combined by either a statistical mode or any function of your choice[should take an array and give a number]