Tumor treatment procedure based on machine learning