Category Theory And Machine Learning Algorithms