Databricks Generative AI Engineer Associate Question 14
Single answerA logistics company wants to optimize its delivery routes to minimize fuel consumption and delivery time while considering traffic patterns and package priorities. Which type of model task should you select to address this business requirement?
- A
Text generation using a generative language model
- B
Route optimization using reinforcement learning
- C
Image classification using a convolutional neural network
- D
Sentiment analysis using a natural language processing model
Show answer and explanation
Correct answer: B
Explanation
The business requirement involves optimizing delivery routes under constraints like traffic and package priorities. This is a sequential decision-making problem where reinforcement learning excels. It allows a model to learn through trial and error by interacting with the environment, making it the most appropriate approach for this scenario.
- A. Incorrect.
Text generation focuses on producing coherent text based on input prompts. It is not suitable for solving route optimization problems, as the task involves decision-making and optimization rather than text output.
- B. Correct.
Reinforcement learning is ideal for route optimization problems because it involves learning a policy to make sequential decisions, such as selecting the most efficient routes while considering constraints like traffic and delivery priorities.
- C. Incorrect.
Image classification is used to categorize images into predefined classes. This is unrelated to route optimization for a logistics company.
- D. Incorrect.
Sentiment analysis is used to determine the sentiment or emotion conveyed in a piece of text. It does not address the logistical requirement of optimizing delivery routes.