Abstract: Aiming at the latest particle swarm optimization algorithm, this paper proposes an improved Trans- former model to improve the accuracy of heart disease prediction and provide a new ...