Darwinian Machine Learning: Principles of Machine Learning in Evo-devo, Evo-eco and Evolutionary Transitions in Individuality