Learning agents,  Interaction and Algebraic Machine Learning