app(flowerhub): add FedXGBoost for financial fraud detection implementation#6807
Closed
eo4929 wants to merge 6 commits intoflwrlabs:mainfrom
Closed
app(flowerhub): add FedXGBoost for financial fraud detection implementation#6807eo4929 wants to merge 6 commits intoflwrlabs:mainfrom
eo4929 wants to merge 6 commits intoflwrlabs:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Flower Hub app implementing a federated XGBoost-based workflow for financial fraud detection, including client/server apps, data utilities, and ensemble aggregation.
Changes:
- Introduces a Flower
ServerApp/ClientApptraining + evaluation loop for “FedXGBBagging”. - Adds dataset preprocessing, partitioning utilities, and XGBoost model (de)serialization helpers.
- Adds a large
fed_xgb_bagging.pymodule implementing bagging and similarity-based aggregation utilities.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/FinancialFraudDetection-app/pyproject.toml | Declares the app package metadata, dependencies, and Flower app entrypoints/config. |
| examples/FinancialFraudDetection-app/frauddetection/task.py | Implements preprocessing, data loading/partitioning, training, evaluation, and model serialization helpers. |
| examples/FinancialFraudDetection-app/frauddetection/server_app.py | Implements the federated orchestration loop, collects per-round client models, builds an ensemble, and runs evaluation. |
| examples/FinancialFraudDetection-app/frauddetection/client_app.py | Implements per-client local training and evaluation handlers and transmits serialized boosters. |
| examples/FinancialFraudDetection-app/frauddetection/fed_xgb_bagging.py | Adds ensemble/bagging and similarity-based utilities used server-side for prediction/evaluation. |
| examples/FinancialFraudDetection-app/frauddetection/init.py | Adds package marker and module docstring. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…gging.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Member
|
This app has been published on Flower Hub --- https://flower.ai/apps/mainthread/federated-fraud-detection/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
I follow some instructions written in https://www.notion.so/flowerlabs/Guide-How-to-Publish-Apps-on-Flower-Hub-1d1d8ccd59cf8073a742da2c83ceb89b.