Skip to content

Duplicated filtering logic in mcmc_nuts_treedepth() #511

@utkarshpawade

Description

@utkarshpawade

mcmc_nuts_treedepth() repeats the same singleton-filtering block twice, once for violin_lp_data and once for violin_accept_stat_data. This should be extracted into an internal helper like drop_singleton_values(df, col).

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