Thursday, March 13, 2025, 12:51PM |  40°
MENU
Advertisement
Marcus Alexander Todd, a senior computer science major at Carnegie Mellon University, works through a coding exercise at Coding Cognitive.
5
MORE

Coders create weather bots in Pittsburgh using IBM Watson

Haley Nelson/Post-Gazette

Coders create weather bots in Pittsburgh using IBM Watson

Grace Kao, 21, had never built a bot before.

But in less than two hours on Wednesday evening, the junior computer science major at Carnegie Mellon University created her own weather chatbot on her Macbook Pro, which could not only tell her about the climate but also recommend suitable apparel for current conditions.

“A lot of the work we do [in school] is theoretical and I thought it’s great that this is hands on,” she said.

Advertisement

Ms. Kao is one of about 36 coders who attended an IBM Coding Cognitive workshop Wednesday at Ace Hotel in East Liberty as a part of Pittsburgh’s Inclusive Innovation Week. Previous locations included New York, Los Angeles and London.

Since artificial intelligence is not always easily accessible, the events aim to bridge the gap between coders and technology like IBM Watson, a question-answering AI supercomputer. This process benefits both flourishing programmers and Watson, explained Jeanne Jang, director of IBM’s Digital Innovation Lab.

“Any time you have a diverse group of people, the outputs are better,” she said, explaining that an inclusive group of people can help refine Watson’s “corpus of knowledge,” essentially its library.

Due to a limited amount of space, coders pre-registered for the free event through an online portal and provided information about their coding experience. After reviewing applications, IBM selected those who could benefit most from learning with Watson. As it turned out, most of them were students.

Advertisement

Those selected registered for IBM Bluemix, a cloud platform that hosts Watson applications like the weather bot. Each person received a 30-day free trial to experiment with their chatbots and make optional additions, like implementing speech-to-text capability or embedding the bot into a messaging app like Slack.

The IBM team gave coders a specific set of instructions to train Watson. This is a way to leverage algorithms in order to solve problems, explained Kyle Guske, a junior computer science major at CMU.

Mr. Guske, 21, said he must teach Watson specific intents. Here, an intent is the specific task that Watson needs to understand and respond to — think of it as a stimulus that causes a response, or a question that needs an answer.

“You give it [Watson] data and it learns from that data,” Mr. Guske said. “It’s software that you can use without necessarily understanding how it works.”

And that’s because Watson, as a technology, already has an expansive set of cognitive capabilities that differentiate it from other programmed computing systems. Watson has the ability to understand, reason and learn from its library.

However, the program does not operate under a system of explicit yes-or-no responses. None of Watson’s individual algorithms is perfect, so it creates confidence intervals to determine how likely its response fulfills a given question or intent, said Armen Pischdotchian, academic tech mentor at IBM Watson.

Asking Watson about the weather in Pittsburgh by typing, “Is it raining cats and dogs in Pittsburgh?” may not turn up a result, for example, if the program has not been trained to recognize that idiom. 

Michael Greenblatt of Jefferson Hills, a software engineer for IBM, initially had trouble getting his bot to report weather for Pittsburgh, although it recognized Boston and suggested a jacket for Wednesday night’s chilly, wet weather.

Troubleshooting, Mr. Greenblatt, 38, supposed that his bot may be confused by the number of Pittsburghs across the country. To narrow it down, he asked for the weather in Pittsburgh, Pennsylvania.

Success — despite the sunlight filtering in through the ballroom window, Watson told Mr. Greenblatt he would need a jacket later in the evening.

“I think it’s cool that in this amount of time you can create a fully functional app,” he said.

To experiment with an AI chatbot, try out The Weather Channel’s Facebook bot, which is powered by Watson. Visit www.messenger.com/t/TheWeatherChannel.

Courtney Linder: clinder@post-gazette.com or 412-263-1707. Twitter: @LinderPG.

First Published: April 7, 2017, 4:00 a.m.

RELATED
SHOW COMMENTS (0)  
Join the Conversation
Commenting policy | How to Report Abuse
If you would like your comment to be considered for a published letter to the editor, please send it to letters@post-gazette.com. Letters must be under 250 words and may be edited for length and clarity.
Partners
Advertisement
Pittsburgh Steelers head coach Mike Tomlin greets New York Jets quarterback Aaron Rodgers (8) after an NFL football game, Sunday, Oct. 20, 2024, in Pittsburgh.
1
sports
Gerry Dulac: Steelers have made offer to Aaron Rodgers, but holdup has nothing to do with money
Steelers general manager Omar Khan watches warm-ups before the game between the Steelers and the New York Giants on Monday, Oct. 28, 2024.
2
sports
Brian Batko's Steelers mailbag: How did they end up grasping at quarterback straws like this?
Pittsburgh Steelers head coach Mike Tomlin talks to quarterback Russell Wilson (3) during an NFL football game, Sunday, Oct. 20, 2024, in Pittsburgh.
3
sports
Joe Starkey: Steelers staging the saddest quarterback derby there ever was
Misericordia University nursing students work on a Chester Chest dummy on Wednesday in Coraopolis.
4
news
Pa. faces a nursing shortage. Gov. Shapiro takes aim with a $5M proposal.
Seattle Seahawks wide receiver DK Metcalf (14) makes a catch past Pittsburgh Steelers strong safety Terrell Edmunds (34) for a touchdown in the second half of an NFL football game, Sunday, Sept. 15, 2019, in Pittsburgh. The play was reviewed and let stand as a touchdown.
5
sports
Steelers film study: DK Metcalf doubles down on George Pickens’ big-play ability
Marcus Alexander Todd, a senior computer science major at Carnegie Mellon University, works through a coding exercise at Coding Cognitive.  (Haley Nelson/Post-Gazette)
Zuha Agha, who is working towards a master's degree in computer science at the University of Pittsburgh, works through a coding exercise at Coding Cognitive on Thursday at the Ace Hotel in East Liberty.  (Haley Nelson/Post-Gazette)
Clare Lai, left, and Marcus Alexander Todd are computer science majors at Carnegie Mellon University.  (Haley Nelson/Post-Gazette)
Armen Pischdotchian shows the features of Watson to, from left, Baxter DiFabrizio, Austin Schick and Ray Zhao.  (Haley Nelson/Post-Gazette)
Baxter DiFabrizio, left, and Austin Schick share a laugh with IBM academic tech mentor Armen Pischdotchian.  (Haley Nelson/Post-Gazette)
Haley Nelson/Post-Gazette
Advertisement
LATEST business
Advertisement
TOP
Email a Story