Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: CategoricalGibbsMetropolis doesn't respect the tune parameter #7997

Open
Labels
@Armavica

Description

@Armavica

Describe the issue:

I think thatthis PR changed the behaviour of theCategoricalGibbsMetropolis sampler which now treats alltune anddraws asdraws. By comparison, the behaviour ofBinaryGibbsMetropolis was unchanged, so I am guessing that this change was unintended.

If intended I find this behaviour confusing and we should probably emit a warning message to clarify?

Reproduceable code example:

importpymcaspmwithpm.Model():pm.Categorical("cat", [0.02,0.08,0.9])idata=pm.sample(draws=20,tune=20)# Sampling 4 chains for 0 tune and 40 draw iterations (0 + 160 draws total)# Returns an idata object with 40 draws

Error message:

PyMC version information:

PyMC Version: 5.24 to current

Context for the issue:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp