You have trained a text classification model in TensorFlow using AI Platform. You want to use the trained model for batch predictions on text data stored in BigQuery while minimizing computational overhead. What should you do?
A.
Export the model to BigQuery ML.
B.
Deploy and version the model on AI Platform.
C.
Use Dataflow with the SavedModel to read the data from BigQuery.
D.
Submit a batch prediction job on AI Platform that points to the model location in Cloud Storage.
Model : AI Platform.
pred batch data : BigQuery
constraint : computational overhead
Same platform as data == less computation required to load and pass it to model
Not sure if when you have the saved model in Cloud storage that means that you don't use compute in vertex. I think that the option compute-free is bigquery
Not sure
Text Classification Using BigQuery ML and ML.NGRAMS
https://medium.com/@jeffrey.james/text-classification-using-bigquery-ml-and-ml-ngrams-6e365f0b5505
There are some drawbacks to option D.
Cost: Submitting a batch prediction job on AI Platform is a paid service. The cost will depend on the size of the model and the amount of data that you are predicting.
Complexity: Submitting a batch prediction job on AI Platform requires you to write some code. This can be a challenge if you are not familiar with AI Platform.
Performance: Submitting a batch prediction job on AI Platform may not be as efficient as using BigQuery ML. This is because AI Platform needs to load the model into memory before it can run the predictions.
Overall, option D is a viable option, but it may not be the best option for all situations.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
maartenalexander
Highly Voted 3 years, 5 months agoq4exam
3 years, 2 months agoms_lemon
3 years, 1 month agogcp2021go
3 years agoharithacML
1 year, 4 months agochohan
Highly Voted 3 years, 5 months agoPhilipKoku
Most Recent 5 months, 3 weeks agogirgu
6 months agoJason_Cloud_at
3 months agoAastha_Vashist
8 months, 1 week agoMrTracer
11 months agoSum_Sum
1 year agoharithacML
1 year, 4 months agoLiting
1 year, 4 months agoVoyager2
1 year, 5 months agoVoyager2
1 year, 5 months agorexduo
1 year, 6 months agoDarshan12
1 year, 6 months agoM25
1 year, 6 months agolucaluca1982
1 year, 7 months agolucaluca1982
1 year, 7 months agotavva_prudhvi
1 year, 4 months agoking31
1 year agolucaluca1982
1 year, 7 months ago