Skip to content

Offset for probalistic modeling - question #320

@gugatr0n1c

Description

@gugatr0n1c

Hello there,

please, I have question about offset.

I am modeling probability of some event, then I need to run additional model on the top of existing one. Offset is great way how to do it, but I was not able to find how to do it properly and my examples behave really strange.

I am using EvoTreeRegressor, with log_loss loss, target is binary. From first stage model I have probabilities.

Please how do it properly? My current logic is:

a) As offset I am using probabilities (OR should I transform it to logits before?)
b) Should I expect as prediction cummulative value (offset plus new_pred)? Or just new_pred and I need to manually sum offset and new_pred?
c) I would expect cumulative value, but then I need to call predict function with offset as well (for unseen data)? Seems to no way to call predict with offset.
d) Or prediction is in form of logit additional? So need do calc logits from offset, calc sum with new logit pred, and then transform to probabilities?

Actually there is several way how EvoTrees can do it internally. This case with logits is not covered in docs, any info would be great.

Best regards,
Lubomir

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