Make xgboost optional in synthetic dataset generation#872
Make xgboost optional in synthetic dataset generation#872jeongyoonlee merged 4 commits intouber:masterfrom
Conversation
|
I’ve fixed the indentation issue that caused the CI failure. |
|
Hi! Just a gentle follow-up - all CI checks are passing now. |
Code reviewFound 1 issue:
causalml/causalml/dataset/synthetic.py Lines 72 to 83 in ff8dea7
causalml/causalml/dataset/synthetic.py Lines 380 to 390 in ff8dea7 The fix is to indent lines 77–81 of 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
|
Thanks for catching that, indentation has been fixed and pushed. |
This change makes xgboost an optional dependency for synthetic dataset generation. When xgboost is not installed, LinearRegression-based
learners continue to work without import errors.