Question on delay learning architecture
Hi Team,
I have a question on the delay learning design architecture.We have configured adaptive delay learning. Pega stores the outbound request sent along with the interaction id into the decision data store(Cassandra). It also stores ADMInputs(with values) and pxSubjectID(CustomerID).
Question 1: (We want to change the design): We pega needs customerID in the response? It already has all the predictors with values stored in the request going to decision data store(pxADMInputs). If we don't pass the CustomerID, delay learning process is not working,
Question 2: Lets say if it gets the CustomerID in the delay learning response. What happens if the customer details are updated in the customer table before the response is captured? Ex: Age is updated but the pxADMInputs still has the old values. Does it take the new values for learning or will it go with the old values? Can we customize this?
Please let me know if we are missing something. Thanks in advance.
Regards,
Nizam
Hi Nizam
It looks like you have a pretty good understanding of how "delayed learning" works. For those reading this that are less familiar: please check PDN for the articles about this, or consider the Pega Academy courses on the subject.
Regarding your questions: the internal cache (technically: pxDecisionResults) is keyed by subject ID and interaction ID, so you'll need to provide both to fetch the original data used at decision time. Interaction ID can be left out, but then you get the data for all decisions for a certain customer and you will need to do more work in the response strategy.
This architecture is designed so the learning is always proper and you don't run the risk of training your models with data that was post decision time (in Data Science parlance, a leaker). So in your example, it will always take Age at decision time, not response time, and this is how you should want it to be.
Regards
Otto