Skip to content
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

Add optional drop argument to predict.mgrf #1271

Merged
merged 1 commit into from Mar 17, 2023
Merged

Conversation

erikcs
Copy link
Member

@erikcs erikcs commented Mar 17, 2023

predict.multi_arm_causal_forest by default returns an array with dimensions num.samples * num.arms - 1 * num.outcomes. Add an optional argument (FALSE by default) that drops this singleton dimension for cases when the forest is fit with one outcome.

@erikcs erikcs merged commit a7f5996 into grf-labs:master Mar 17, 2023
6 checks passed
@erikcs erikcs deleted the mgrf-drop branch March 17, 2023 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant