Quality trait prediction in cassava and sweet corn