Topic 1 - Introduction to AI Services Flashcards
(10 cards)
What are the five main stages of a typical Machine Learning Workflow?
- Data Preparation
- Model Training
- Model Evaluation
- Model Deployment
- Model Monitoring.
Briefly explain the difference between the “API” and “DIY” implementations of a machine learning workflow in terms of infrastructure requirements
In the API implementation, the user does not need to manage infrastructure as they are using the service provider’s resources. In the DIY implementation, the user is responsible for providing and managing all necessary infrastructure. data training, and model development.
In which implementation option is model development typically done by the user?
Model development is typically done by the user in the “Own Model” and “DIY” implementation options.
What is an Application Programming Interface (API)?
An Application Programming Interface (API) is a set of definitions and protocols for building and integrating application software, allowing applications to communicate with each other.
Describe the fundamental request/response paradigm that governs API communication.
The request/response paradigm involves a client sending a structured request to a server, and the server processing that request and returning a response with the requested information or result.
What is the purpose of a status code in an API response, and what does a value of 200 typically indicate?
A status code indicates if the API request was successful or not. A value of 200 typically indicates a successful request.
What data format is commonly used for transmitting data in API requests and responses, as seen in the Vision API examples?
JSON (JavaScript Object Notation) is the data format commonly used for transmitting data in API requests and responses.
Give two examples of image analysis capabilities offered by the Google Cloud Vision API.
Two examples of image analysis capabilities offered by the Google Cloud Vision API are Label Detection and Text Detection. (Other valid answers include Document Text Detection, Facial Detection, Landmark Detection, Logo Detection, Image Properties).
Looking at the provided JSON response example, how would you access the ‘score’ of the first ‘labelAnnotation’?
You would access the score using result[“responses”][0][“labelAnnotations”][0][“score”].
Which implementation option generally has the highest associated risks?
The implementation option that generally has the highest associated risks is the “DIY” option.