Radiotherapy is one of the main treatments for tumor with increasingly high request for technique precision and the equipment stability. Machine learning may bring radiotherapy simplicity, individualization and precision, and may improve the automatic level of planning and quality assurance. Based on the process of radiotherapy, this paper reviews the applications and researches on machine learning, with an emphasis on deep learning, and proposes the prospects in the following aspects: segmentation of normal tissue and tumor, planning, treatment delivery, quality assurance and prognosis prediction.