I am an aspirant for masters in data science and I have mentioned in major chunk of my Statement of purpose about machine learning and my past experience with it. Is it okay or not ?
Actually, the SOP should look to your future, not the past. Your CV tells what you have already done, so you don't need to repeat that. But if you want to talk about machine learning, talk about how that background applies to your future in data science. If you intend, for example to work at the intersection of the two fields, talk about that.
But in general, you want to convince the admissions people that you have realistic goals and are well suited to achieve them. The main focus should be forward looking, not backward.