Machine learning in an expectation-maximisation framework for nowcasting