This demonstration presents a solution for financial fraud prevention using MLRun’s feature store to define complex features that help identify fraudulent activities. Fraud prevention is a challenging task as it requires processing transactions and events in real time, responding quickly to block transactions before they are completed.
To address this problem, two pipelines are implemented:
- Development Pipeline: Allows testing and fine-tuning feature engineering logic and models.
- Production Pipeline: Uses the same features and models but is adapted to handle real-time data.
Additionally, data and model monitoring is automated, enabling the detection of deviations (drift) and triggering model retraining within a CI/CD pipeline. The complete process is illustrated in the following diagram:
Understand the characteristics and structure of the data.
Preprocess and transform data for use in models.
Train models using different features and algorithms.
Intercept requests, process real-time data, and make inferences.
Detect deviations (drift) and evaluate model performance in production.
Automate continuous integration and deployment to keep models up to date.