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: Set up request - Xamarin Tutorial
From the course: Machine Learning in Mobile Applications
Client tie to custom model: Set up request
- [Instructor] To send data to our custom model service, we're going to create an anonymous object to contain it. The structure of the object can be found in the same place we got our URL from. So we're going to go back to Azure Machine Learning Studio and click on the request response. And if we scroll down, we can find information on what the sample request should look like. So we can see the column names, and we see that we pass in an array of values. So technically we could set up multiple ranges of values to get predictions at the same time. We're only going to do one at a time. So now we're going to go back to Visual Studio, and in our method we want to continue by making an anonymous object for our request using the structure that we just looked at from the API documentation. So we're going to go var, scoreRequest, equals, and new, and this is going to be an object, so it's going to be Inputs, and that's going to equal a new object as well, and we've got input1, and that's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Azure Machine Learning overview2m 28s
-
(Locked)
Language Understanding: Set up2m 51s
-
(Locked)
Language Understanding: Intents4m 27s
-
(Locked)
Language Understanding: Utterances4m 1s
-
(Locked)
Custom Vision: Set up4m 25s
-
(Locked)
Machine Learning Studio: Set up4m 46s
-
(Locked)
Machine Learning Studio: Create model3m 53s
-
(Locked)
Machine Learning Studio: Publish model3m 33s
-
(Locked)
Install client SDK package2m 27s
-
(Locked)
Client tie to LUIS5m 16s
-
(Locked)
Client tie to Custom Vision model5m 24s
-
(Locked)
Client tie to custom model4m 4s
-
(Locked)
Client tie to custom model: Set up request6m 22s
-
(Locked)
Client tie to custom model: Make the call8m 28s
-
(Locked)
Run the clent app2m 12s
-
(Locked)
-
-
-