End-to-end deep learning for recognition of ploidy status using time-lapse videos