Father’s Day may have come and gone but IBM engineer Ryan Anderson is a dad worth celebrating any day of the year because he does magical things for his kids.
And no, we’re not just talking about the fact that he offers them love and support, he actually builds them working Harry Potter Sorting Hats.
Anderson thought it would be fun to get his girls involved in the work by building a hat that would use Watson’s Natural Language Classifier and Speech to Text to sort them into Harry Potter houses.
How does it work, then? Well, the wearer just has to talk to the hat and it’ll pick up on what they’re saying and sort them accordingly.
The hat is programmed to pick up on words that Anderson associated with the traits of each Hogwarts house.
The girls came up with “ground truths” for Gryffindor, Ravenclaw, Hufflepuff and Slytherin, which Anderson was then able to expand on each time the hat was placed on someone’s head.
So if his daughters were very honest, they’d go straight to Hufflepuff, while words associated with brains and cleverness would see them sorted into Ravenclaw.
Now that’s how you combine science and magic to manage mischief in the most marvellous way.