QuestionQ37
VerifiedAdvanced Feature Store ConceptsA Machine Learning Engineer is developing a fraud-detection model that must use both precomputed features from a feature table and real-time calculated features based on user-location data provided with every inference request. The engineer created a Python UDF named calculate_distance in Unity Catalog at main.fraud_detection.calculate_distance, which calculates the distance between a transaction location and the user's current location. The feature table main.fraud_detection.user_features stores historical user-spending patterns and has the primary key user_id.
The engineer has written the following code to implement this scenario:

Which benefit of this implementation approach makes it appropriate for the real-time fraud-detection use case?
Community Discussion