-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.4] Add secure federated xgboost example #2649
Conversation
/build |
import matplotlib.pyplot as plt | ||
import pandas as pd | ||
import shap | ||
import xgboost as xgb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add these into requirements.txt
f.write(tree) | ||
|
||
# plot tree and save to png file | ||
xgb.plot_tree(bst, num_trees=0, rankdir="LR") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also need to install graphviz
#!/usr/bin/env bash | ||
mkdir /tmp/nvflare/xgb_exp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest add a check to check if not exist then create
Fixes # .
Description
Add the same secure xgboost example to 2.4
Types of changes
./runtest.sh
.