Google Cloud Professional Machine Learning Engineer · Free practice question 12 of 12
Point-in-time joins for training data
Ravelston Credit builds training data by joining loan applications with customer features, but it joined each application to the customers' current feature values. Offline accuracy is far higher than production accuracy. How should the training data be built instead?
- A.Join each application to the latest feature values available today
- B.Drop all customer features from the model
- C.Join each application to the feature values as of the application timestamp, using a point-in-time lookup
- D.Join each application to the average feature values over all time
Show answer and explanation
Correct answer: C. Join each application to the feature values as of the application timestamp, using a point-in-time lookup
Why: Using current or all-time values leaks information from after the application date into training, inflating offline metrics; a point-in-time lookup, such as Feature Store historical retrieval or ML.ENTITY_FEATURES_AT_TIME in BigQuery (which takes a separate cutoff time for each entity row), returns the values that existed at each application's timestamp. Dropping the features throws away signal rather than fixing the leakage.
More free Google Cloud Professional Machine Learning Engineer questions
- BigQuery ML k-means customer segments
- Speech-to-Text for call recordings
- AutoML object detection annotations
- Scheduled notebook runs with the executor
- TensorBoard Profiler for input bottlenecks
- TFX InfraValidator before pushing
- Runtime parameters for compiled pipelines
- CPU machines for scikit-learn serving
- Model cards for responsible AI documentation
- tf.data prefetch and parallel map
- Grounding with Google Search