A Language Framework for Machine-Learning