Blockchain applications in machine learning