Databricks Machine Learning Professional Question 207
Single answerA retail company is deploying a machine learning model to predict product recommendations for users in real-time. The model needs to incorporate contextual information about the user's current session, such as the items in their cart, to generate accurate predictions. Which of the following describes the need for utilizing Just-In-Time (JIT) feature values in this scenario?
- A
The model requires pre-computed features from historical data to operate efficiently.
- B
The model needs real-time features generated during user interactions for accurate predictions.
- C
The model can rely solely on batch-processed features generated overnight.
- D
The model does not require any real-time feature generation for its predictions.
Show answer and explanation
Correct answer: B
Explanation
Just-In-Time (JIT) feature values are essential in real-time deployment scenarios where models need to incorporate live or dynamic data, such as user session information, to make predictions. In this case, the user's current cart items are not available in pre-computed or batch-processed features, making JIT feature generation necessary.
- A. Incorrect.
This is incorrect because pre-computed features from historical data are not sufficient for real-time predictions that rely on current session information.
- B. Correct.
This is correct because JIT feature values are generated dynamically during user interactions and are necessary for real-time deployment scenarios like the one described.
- C. Incorrect.
This is incorrect because relying solely on batch-processed features does not account for the dynamic nature of data required for real-time predictions.
- D. Incorrect.
This is incorrect because the scenario explicitly states the need for real-time feature generation (JIT) to incorporate live session data.