Add doubly stochastic matrix constraint
Open
Nobody has claimed this yet.
feature
- Dominant language
- C++
- Stars
- 839
- Forks
- 220
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 14
Description
Discussed at StanCon, this is an extension of row/column stochastic matrices where the constraint applies in both directions simultaneously.
@SteveBronder said he had some use cases, and @spinkney said he knew a transform we could implement
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing row- and column-stochastic matrix constraints in the Stan Math Library, then follow up on the StanCon discussion and the proposed transform. The issue does not name files, tests, or entry points. Done means implementing a doubly stochastic matrix constraint that applies in both directions and validating its intended use cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100