Skip to content
Snippets Groups Projects

Fix error in Categorical prior and add tests

Merged Gregory Ashton requested to merge fix-categorial-prior into master

In the initial implementation, the rescale() function was biased and did not evenly sample from all categories (the first and last categories where downweighted). This fixes the issue and adds a test.

Merge request reports

Pipeline #252680 passed

Pipeline passed for e5481028 on fix-categorial-prior

Test coverage 54.00% (0.00%) from 1 job
Approved by

Merged by Moritz HuebnerMoritz Huebner 3 years ago (Jul 6, 2021 9:17am UTC)

Merge details

  • Changes merged into master with de549e36 (commits were squashed).
  • Deleted the source branch.

Pipeline #253718 passed

Pipeline passed for de549e36 on master

Test coverage 0.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading