Deep and shallow learning solutions for modern agriculture