Book Image

AI Blueprints

By : Dr. Joshua Eckroth, Eric Schoen
Book Image

AI Blueprints

By: Dr. Joshua Eckroth, Eric Schoen

Overview of this book

AI Blueprints gives you a working framework and the techniques to build your own successful AI business applications. You’ll learn across six business scenarios how AI can solve critical challenges with state-of-the-art AI software libraries and a well thought out workflow. Along the way you’ll discover the practical techniques to build AI business applications from first design to full coding and deployment. The AI blueprints in this book solve key business scenarios. The first blueprint uses AI to find solutions for building plans for cloud computing that are on-time and under budget. The second blueprint involves an AI system that continuously monitors social media to gauge public feeling about a topic of interest - such as self-driving cars. You’ll learn how to approach AI business problems and apply blueprints that can ensure success. The next AI scenario shows you how to approach the problem of creating a recommendation engine and monitoring how those recommendations perform. The fourth blueprint shows you how to use deep learning to find your business logo in social media photos and assess how people interact with your products. Learn the practical techniques involved and how to apply these blueprints intelligently. The fifth blueprint is about how to best design a ‘trending now’ section on your website, much like the one we know from Twitter. The sixth blueprint shows how to create helpful chatbots so that an AI system can understand customers’ questions and answer them with relevant responses. This book continuously demonstrates a working framework and strategy for building AI business applications. Along the way, you’ll also learn how to prepare for future advances in AI. You’ll gain a workflow and a toolbox of patterns and techniques so that you can create your own smart code.
Table of Contents (14 chapters)
AI Blueprints
Foreword
Contributors
Preface
Other Books You May Enjoy
Index

Summary


This chapter demonstrated one method for making sense of feedback, specifically, a method for acquiring tweets and posts and news articles about a topic and identifying the overall sentiment (negative or positive) of the general population's feeling about the topic. We chose "autonomous vehicles" and "self-driving cars" for our search terms in order to get a sense of how people feel about this burgeoning technology, particularly in light of recent news (some good, some bad) at the time of writing.

Our method used the Twitter, Reddit, and News APIs, running as independent threads that continuously acquire new tweets and posts and comments. The text is then sent to the CoreNLP library for sentiment detection. CoreNLP first breaks down the text into individual sentences and then detects the sentiment of each sentence. We next save each sentence with a non-neutral sentiment in an SQLite database, along with the date and source. In order to visualize the current sentiment, we also built...