PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #205
You work for a social media company. You want to create a no-code image classification model for an iOS mobile application to identify fashion accessories. You have a labeled dataset in Cloud…
The correct answer is B. Train the model by using AutoML Edge, and export it as a Core ML model. Configure your mobile. For a no-code image classification model for an iOS mobile app requiring lowest latency and minimized cost, train with AutoML Edge and export the model in Core ML format.
Question
Options
- ATrain the model by using AutoML, and register the model in Vertex AI Model Registry. Configure
- BTrain the model by using AutoML Edge, and export it as a Core ML model. Configure your mobile
- CTrain the model by using AutoML Edge, and export the model as a TFLite model. Configure your
- DTrain the model by using AutoML, and expose the model as a Vertex AI endpoint. Configure your
How the community answered
(24 responses)- A4% (1)
- B83% (20)
- C4% (1)
- D8% (2)
Why each option
For a no-code image classification model for an iOS mobile app requiring lowest latency and minimized cost, train with AutoML Edge and export the model in Core ML format.
Serving predictions from a Vertex AI endpoint in the cloud introduces network latency, which does not align with the requirement for the 'lowest possible latency' for a mobile application.
Training with AutoML Edge is ideal for optimizing models for on-device deployment, offering a no-code solution. Exporting the model as a Core ML model ensures native integration and optimal performance on iOS devices, allowing predictions to run directly on the mobile app with the lowest possible latency by eliminating network round trips.
While AutoML Edge can export TFLite models for on-device deployment, Core ML is the native and often more optimized format for iOS applications, which is crucial for achieving the absolute lowest latency on Apple devices.
Similar to option A, using a Vertex AI endpoint for serving predictions from the cloud introduces network latency, failing to meet the lowest latency requirement for an iOS mobile application.
Concept tested: Vertex AI AutoML Edge for on-device models
Source: https://cloud.google.com/vertex-ai/docs/edge/overview
Topics
Community Discussion
No community discussion yet for this question.