Analyzing the StirTrek conference sessions with Azure Cognitive Services

In a previous post, I looked at how I could use Azure Congitive Services to look at the keywords from the StirTrek conference session titles. In this post I want to continue that exploration and see what we can learn about the service and the conference.

I am going to use the Text Analysis API. Specifically I am going to call the API that will return the key phrase or phrases for any input text. For example, if you pass it “Boom! From Combat Engineer to Software Engineer” (which is a real session at StirTrek this year), it will return “Combat Engineer” and “Software Engineer”. The API could also detect which language the given text was in. But since all of the StirTrek sessions are in English, it would not be very interesting in this experiment. There is also an API that returns a score representing the sentiment of the input text. I plan to explore that in a future blog post.

Experiment 1: Repeated Phrases in Titles

For the first part of the experiment, I wanted to see which key phrases appear in session titles both this year and last year. The StirTrek web site lists information for both years, so I can collect it with Canopy rather easily. As I demonstrated in the previous post, I used the Fognitive Services library to pipe the titles into Azure Cognitive Services. I used the Set operations in F# to create sets from the 2017 and 2018 title key phrases and then created a union of the results, giving the key phrases that appeared both years.

Using this method, I found that the key phrases that were repeated were ‘machine learning’ and ‘sql server execution plans’. One thing I noticed right away was that certain technologies were missing from the list. For example, ‘Angular’, ‘React’, and ‘UX’ appear in session titles both years. So Cognitive Services either has a hard time recognizing technology names or it didn’t see them as the key phrases in their respective sentences. The fact that the technologies don’t show up in the results means that we can learn something about the conference beyond what technologies are popular at the time.

The fact that machine learning showed up both years is interesting to me, especially since Cognitive Services is an nice abstraction layer over very sophisticated machine learning algorithms. For what it is worth, here are the machine learning sessions from both years:

  • Machine Learning in R (2018)
  • Using EEG and Machine Learning to Perform Lie Detection (2017)

While I was able to learn something from just looking at the titles, I’m going to run another experiment to see what I can learn by analyzing the session abstracts.

Experiment 2: Most Common Phrases in Session Details

For the second experiment, I wanted to look at the abstracts. We can still retrieve them with Canopy. But because there is so much more text in the abstracts that it isn’t helpful to look at which phrases appear in both years. There would be too many results. So instead I will append the key phrase lists together and count how many total times the phrase appears. You can see the raw results here. I think it shows something interesting about the conference.

The top two results (session, talk) are meta information about the conference, so that isn’t all that interesting. The next highest result is code, appearing 13 times. This is also uninteresting as it restates the fact that this is a developer conference. The same is true of developers appearing 9 times. The phrase way appears 10 times and ways appears 7 times. This would seam to indicate that the conference has an emphasis on showing how things can be done.

The first surprising result is that time shows up 9 times. There is clearly an emphasis on the fact that time is important to developers. The word tools appears 8 times, indicating that the conference wants to teach developers about the tools that can help them and presumably help them save time.

The result in the top 10 that surprised me the most was people, appearing 7 times. The related terms customers and teams both appear 4 times. Clearly the conference organizers recognize that some of the biggest challenges that we face as developers are not technical at all, but instead have to do with interacting with our fellow humans.

The interesting omission from the list is anything having to do with the movie theme. The conference takes place in a movie theater and the attendees get to watch the theme movie for the year when the conference is done. For example, this year all of the attendees will get to watch Infinity War at the end of the day. Much of the marketing uses this movie tie in. But looking at the themes of the titles and the abstracts shows that there is a ton of substance in this conference.

Next Steps

I was impressed with how easy it was to generate the results sets. It would be interesting to look at the same information but for a conference where I could get the results for multiple years. It would also be interesting to compare results between two conferences. I’ll try and track that down for a future blog post.

If you want to see the code that I wrote for the experiments, it is available on my GitHub page in the StirTrekKeywordAnalyzer Repo

Do you have an idea for something I should try to abstract from a conference data set with Cognitive Services? Leave a comment below with any suggestions. Or just find me on Twitter and let me know what I should be looking for.

April 8, 2018 |
Tags : CognitiveServices FSharp Canopy

Comments Section

Feel free to comment on the post but keep it clean and on topic.

comments powered by Disqus

About Me

Eric Potter My name is Eric Potter. I have an amazing wife and 5 wonderful children. I am a Microsoft MVP for Developer Tools and Technologies, the Director of Technical Education for Sweetwater in Ft. Wayne Indiana, and an adjunct professor for Indiana Tech. I am a humble toolsmith.

Microsoft MVP Award

pottereric.github.com