Skip to content

Error message in 6.3.4 Counterfactual predictions  #29

@josephogle

Description

@josephogle

Hi, thanks very much for this really wonderful resource.

I've been working through Ch.6 and have been getting the following error when attempting to predict counterfactual outcome values in section 6.3.4:

Error in private$.predict(task) : object 'preds' not found

Not sure if I'm doing something wrong here, but I noticed that another user appeared to be trying a work around (see here where the authors initially subset on treatment level before making predictions, which isn't right for their purpose and seems to me like they've had the same issue!).

Thanks very much for reading and any help would be hugely appreciated!

JO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions