Skip to content

causalBoosting returns matrix for prediction #9

@MaximilianFranz

Description

@MaximilianFranz

Hey Scott,

thanks for the awesome package! I've noticed that when I call predict(causalBoostingModel, newx), it returns a matrix of shape (size_newx, num_trees) with num_trees being the number of trees specified when fitting causal boost.
How should I deal with these return values, as I only want the treatment effect for each instance in newx? Can I just take the mean?

Thanks for your answer already!
Best,
Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions