From the course: Machine Learning in Mobile Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Client tie to custom model

Client tie to custom model - Xamarin Tutorial

From the course: Machine Learning in Mobile Applications

Start my 1-month free trial

Client tie to custom model

- [Instructor] The last thing we want to hook up is our custom model. Now we didn't have a NuGet package to work with, so instead we're going to need to call the rest API directly. So we're going to close up the visual recognition view model and save it if it needs to be saved and go to the house vote prediction view model. And we're going to look for a method called get yes vote chance A sync. And here it is, right now it just returns zero, being a zero percent chance for a yes vote. Now instead, we want to return the value of the service. So to start with, we're going to set up a variable for the encoding. And that's going to be equal to ASCII. And now we're going to want a URL for the end point so we're going to go var, URL, and that equals, and it's going to be a string. And we can find this information inside our predictive experiment in Azure Machine Learning Studio. Going to go to my experiments, and close up any windows that show up and we want to look at the web services. And…

Contents