How googlecloudplatform/fraudfinder works
FraudFinder is a Google Cloud workshop demonstrating an end-to-end, real-time payment-fraud detection workflow: prepare historical and streaming data, explore and engineer features, train and evaluate models, deploy them, and serve predictions using online features. The graph preserves the README’s documented capabilities, including model registry and monitoring. Source excerpts confirm the data-copy, deployment, and inference calls; notebook-to-notebook relationships are documented at a high level in the README, so those edges reflect the described workflow rather than inspected notebook code.
Main entry points: main.py Inference handler · 04_model_training_and_prediction.ipynb BQML training · 05_model_training_xgboost_formalization.ipynb XGBoost training · vertex_ai Model registry
Components 20
Data preparation
- Copy source data
scripts/copy_bigquery_data.py - Historical transactions
- BigQuery warehouse
- Live transactions
- Explore data
01_exploratory_data_analysis.ipynb
Feature engineering
- Batch features
02_feature_engineering_batch.ipynb - Streaming features
03_feature_engineering_streaming.ipynb - Feature store
Model lifecycle
- BQML training
bqml/04_model_training_and_prediction.ipynb - BQML pipeline
bqml/05_model_training_pipeline_formalization.ipynb - Vertex experimentation
vertex_ai/04_experimentation.ipynb - XGBoost training
vertex_ai/05_model_training_xgboost_formalization.ipynb - Vertex formalization
vertex_ai/06_formalization.ipynb - Model registry
vertex_ai - Model monitoring
bqml
Online serving
- Endpoint deployment
vertex_ai/deploy_model/deploy_model.py - Vertex endpoint
- Inference handler
scripts/cloud_run_model_inference/main.py - Cloud Run
Other components
- Workshop operator
Connections 27
- Workshop operator → Copy source data: prepares data
README.md - Historical transactions → Copy source data: copies from
scripts/copy_bigquery_data.py - Copy source data → BigQuery warehouse: writes tables
scripts/copy_bigquery_data.py - Workshop operator → Explore data: explores data
README.md - BigQuery warehouse → Explore data: reads history
- Explore data → Batch features: engineers batch
README.md - Live transactions → Streaming features: feeds events
README.md - Batch features → Feature store: ingests features
README.md - Streaming features → Feature store: ingests features
README.md - Feature store → BQML training: supplies features
README.md - Feature store → XGBoost training: supplies features
README.md - Workshop operator → BQML training: trains model
README.md - BQML training → BQML pipeline: formalizes training
README.md - Workshop operator → Vertex experimentation: experiments
README.md - Vertex experimentation → XGBoost training: develops model
README.md - XGBoost training → Vertex formalization: formalizes training
README.md - BQML training → Model registry: registers model
README.md - XGBoost training → Model registry: registers model
README.md - Model registry → Endpoint deployment: provides model
README.md - Workshop operator → Endpoint deployment: deploys model
vertex_ai/deploy_model/deploy_model.py - Endpoint deployment → Vertex endpoint: creates and deploys
vertex_ai/deploy_model/deploy_model.py - Live transactions → Inference handler: delivers event
README.md - Cloud Run → Inference handler: hosts handler
- Inference handler → Feature store: looks up features
scripts/cloud_run_model_inference/main.py - Inference handler → Vertex endpoint: requests prediction
scripts/cloud_run_model_inference/main.py - Vertex endpoint → Inference handler: returns prediction
scripts/cloud_run_model_inference/main.py - Model registry → Model monitoring: monitors model
README.md