Skip to content

Update BART prediction functions to reflect cloglog #266

@andrewherren

Description

@andrewherren

Right now, the predict function / method in both R and Python contains a scale argument whose valid options are 'linear' and 'probability'. We will modify this to more closely match the spirit / style of existing GLM implementations. For a quick overview:

We should accept either 'response' or 'mean' for inverse-link scale and 'link' or 'linear' for linear scale. We will also continue to accept 'probability' for probit models, with a deprecation warning that it will be phased out in future versions.

We should also consider whether ordinal models are best served by additional helper functions for computing, e.g. the probability of an observation attaining a given category value. It might make sense to allow linear / link scale predictions for ordinal models and then ask users to pass the predictions through post-processing functions for computing specific probabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions