From the course: Machine Learning in Mobile Applications

Unlock the full course today

Join today to access over 24,000 courses taught by industry experts.

Running the app

Running the app

With our entire application put together to run against Watson, let's try it out. So I'm going to actually go in and run it and press Run And Debug. And currently this is set up to run in the iOS simulator. So I'll hit Run And Debug. And here we have the simulator up. On the first screen, we have a textual UI. We can type in what we want to do and our natural language understanding model will be called. If it understands the request, it will navigate us to that page. And there's two pages, really. One for predicting Boston home prices, and one to identify trees in a picture. Unfortunately, that requires a service Watson no longer supports, but we will be able to implement it in some of the other platforms. There are also a minimum number of characters, so if we do too few Watson will return an error to us. So we're going to try it and just type in a couple letters and go in "Test" like that and hit Send. And Watson returned an error. And the app just displays a generic message that it…

Contents