Data integrity in machine learning with blockchain