Skip to content

Incorrect error message in metrics.uplift_at_k #209

@dennism-tulcolabs

Description

@dennism-tulcolabs

In line 468, the message for the ValueError raised when n_trmnt > n_samples_trmnt says ...f'in the treatment group: {n_samples_ctrl}'. Instead of n_samples_ctrl, the message should reference n_samples_trmnt.

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