Learning portioning strategies