Slashdot Mirror


IBM Engineer Builds a Harry Potter Sorting Hat Using 'Watson' AI (thenextweb.com)

An anonymous reader writes: As America celebrates Father's Day, The Next Web reports on an IBM engineer who found a way to combine his daughters' interest in the Harry Potter series with an educational home technology project. Together they built a Hogwarts-style sorting hat -- which assigns its wearer into an appropriate residence house at the school of magic -- and it does it using IBM's cognitive computing platform Watson. "The hat uses Watson's Natural Language Classifier and Speech to Text to let the wearer simply talk to the hat, then be sorted according to what he or she says..." reports The Next Web. "Anderson coded the hat to pick up on words that fit the characteristics of each Hogwarts house, with brainy and cleverness going right into Ravenclaw's territory and honesty a recognized Hufflepuff attribute."
The hat's algorithm would place Stephen Hawking and Hillary Clinton into Ravenclaw, according to the article, while Donald Trump "was assigned to Gryffindor for his boldness -- but only with a 48 percent certainty."

The sorting hat talks, drawing its data directly from the IBM Cloud, and if you're interested in building your own, the IBM engineer has shared a tutorial online.

1 of 117 comments (clear)

  1. Not Slytherin eh? by monkeyman.kix · · Score: 5, Funny

    Donald Trump "was assigned to Gryffindor for his boldness -- but only with a 48 percent certainty."

    Sorting Hat: Not Slytherin, eh? Are you sure? You could be great, you know. It's all here in your head. And Slytherin will help you on the way to greatness, there's no doubt about that. No?

    Trump: Please, please. Anything but Slytherin, anything but Slytherin.

    Sorting Hat: Well if you're sure, better be... GRYFFINDOR!