Move machine learning to language agnosic ssection