Spoiler alert: An AI that knows who is going to die next in Game of Thrones Season 6
The AI has some surprising predictions about who will die next in the upcoming season of Game of ThronesHBO

HBO's cult favourite Game Of Thrones is all set to premiere on 24 April and those of you who are wracking your brains to speculate which character would be killed off on the show, fear not. Students at the Technical University of Munich (TUM) have developed an artificial intelligence (AI) algorithm that predicts which of the show's popular charactesr would likely die in the new season.

The AI trawls for and analyses all available online data on GoT books and the TV series to make predictions on who will die next. The project, whimsically titled A Song Of Ice And Data, has so far accurately predicted 74% of character deaths in the TV series and books and has come up with a surprising list of further possible deaths to add to the growing death toll.

Project lead Dr Guy Yachdav told the Telegraph: "This project has been a lot of fun for us. In its daily work, our research group focuses on answering complex biological questions using data mining and machine learning algorithms. Only this time the subject matter was a popular TV show. The epic scale of the worlds created by George RR Martin provides an almost endless resource of raw multi-dimensional data. It provided the perfect setting for our class."

The algorithm classifies each of the characters by analysing factors like age, gender, title, popularity etc, to determine who is more likely to die. According to TUM's analysis, male characters are more likely to succumb to death and those who are generally presumed to be relatively safe from meeting the Lord of the Light, may actually be in danger of getting axed (maybe even literally) soon.

The AI has come up with a list of characters most likely to be written off from the show in the upcoming season. However, it has had some anomalies, especially given that it predicted an 11% chance of Jon Snow entering GoT heaven. The researchers are backing the AI's prediction and have even hinted at the possible resurrection of the show's most popular character.

Mentioned below is the fate of some of the main characters predicted by the AI.

Warning: Potential spoilers ahead, proceed at your own risk

Tommen Baratheon

The boy king, currently presiding over the throne, has an alarming 97% likelihood of being the next on the GoT hitlist.

Daenerys Targaryen

The Dragon queen has a 96% chance of buying the farm in the next season.

Ramsey Snow

The villainous rogue has 64% likelihood of dying in the upcoming season and may even outlive his mortal enemy Theon Greyjoy, who has a 74% chance of dying next.

Arya Stark

The rebellious younger Stark daughter has a 68% chance of getting axed.

Sansa Stark

The eldest of the Stark daughters has only a 3% likelihood of dying and could outlive her younger sister.