A new artificial intelligence algorithm analyzes personal risk factors to accurately predict stroke recurrence in patients.