You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centralized feature engineering and serving platform built on Feast for healthcare fraud detection. This project implements a complete feature store pipeline with offline (file-based) and online (Redis) stores, supporting both batch training and low-latency real-time inference.
Architecture
Raw Claims Data (Parquet)
|
Feature Pipeline
|
+-----------+
| Feast |
+-----+-----+
| |
Offline Store Online Store
(Parquet) (Redis)
| |
Training Data Real-time
Retrieval Serving
Features
Entity Definitions: Provider, Patient, and Claim entities with proper join keys
Feature Views: Provider-level, patient-level, and claim-level feature aggregations
On-Demand Features: Computed features like amount deviation from provider averages
Feature Service: Unified feature retrieval interface for fraud detection models
Materialization Pipeline: Scheduled push from offline to online store
REST API: FastAPI-based feature serving endpoints
Synthetic Data Generation: Realistic healthcare claims data with configurable fraud rates
Project Structure
feast-feature-store/
├── feature_repo/
│ ├── feature_store.yaml # Feast configuration
│ ├── entities.py # Entity definitions
│ ├── feature_definitions.py # Feature view definitions
│ └── data/ # Registry and offline store
├── src/
│ ├── data_generator.py # Synthetic data generation
│ ├── feature_pipeline.py # Feature computation pipeline
│ ├── model_training.py # ML training with feature store
│ └── api.py # REST API for feature serving
├── configs/
│ └── config.yaml # Pipeline configuration
├── data/ # Generated parquet files
├── requirements.txt
└── README.md
All pipeline parameters are configured via configs/config.yaml, including data generation settings, materialization windows, and feature retrieval timeouts.
License
MIT License
About
Feast feature store for claims fraud features with file offline store and Redis online store.