Suspicious Transactions

Hi Team,

I want to teach my model to inform me about suspicious deals. So for example I give the system samples saying that my customer always sends his products to Thailand to company XYZ. Now there is a transaction where the product goes to China to the same company XYZ. That’s exactly what the model is supposed to give me as a conspicuous transaction. If it happens a second time, so my customer sends his product to China to company XYZ, then also a message should appear. But if it happens a third time, my model should be able to learn and should deposit this constellation (customer sends product to China to company XYZ) as a further sample or pattern belonging to the customer, there should be no message about a suspicious transaction. Are there already examples or can someone help me which model is able to do this?

I thank you very much in advance and hope for your help.