A little Python, some neural network command line work, and the blog can start posting computer-generated wine reviews
Sooner rather than later, I’m going to post computer-generated wine reviews on the blog. Thanks to the Lifehacker website, all I need are some basic Python programing skills. Or, even better, find a Python-savvy volunteer from among the blog’s sophisticated and erudite audience who wants to help “write” them.
We’ve followed the advances in artificial intelligence that makes these reviews possible for several years. Barbara Ehrenreich, writing in the New York Times, said that “the business of book reviewing could itself be automated and possibly improved by computers.” And writing one kind of review isn’t all that different from writing another kind.
The point here? That wine has become so mechanized and so predictable that we can probably get acceptable Winestream Media-style reviews from an artificial intelligence. It’s probably even possible to teach the machine to give scores – a delicious irony that is reason enough to make this work.
Lifehacker’s Beth Skawrecki writes that machine-written reviews are more possible than ever thanks to advances in neural networks. A neural network is “a type of [artificial intelligence] modeled on the network-like nature of our own brains. You train a neural network by giving it input: recipes, for example. The network strengthens some of the connections between its neurons (imitation brain cells) more than others as it learns. The idea is that it’s figuring out the rules of how the input works: which letters tend to follow others, for example. Once the network is trained, you can ask it to generate its own output, or to give it a partial input and ask it to fill in the rest.”
For our purposes, we would tell the computer what chardonnay is supposed to taste like, where the grapes were grown, information about the vintage and the winemaker’s style, and the price. Then, we can “teach” it to interpret that information to write the review – that chardonnay from California is different in certain ways from chardonnay from France, for example.
Now, to brush up on my Python.
More about computer-generated wine reviews:
• Winecast 30: Arty, the first artificial intelligence wine writer
• Do we really need wine writers?