[Question]Question on permutation strategy in discrim_two_sample test
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- testing-qa
Research direction
Read discrim_two_sample.py around lines 190-191 and trace _get_convex_comb for both inputs. Compare that behavior with the permutation strategy described in Bridgeford et al. (2021); done means documenting whether the within-matrix combinations are intentional and explaining the rationale or identifying the discrepancy.
Written by the indexing model from the issue text.
Description
Dear experts,
I have a question about the permutation strategy in the two-sample discriminability test. When comparing two Discr estimates, I noticed that the current implementation in discrim_two_sample.py uses a different permutation approach than described in the original paper (Bridgeford et al., 2021).
Current implementation (lines 190-191 in discrim_two_sample.py):
permx1 = self._get_convex_comb(self.x1, random_state) # convex combination within x1
permx2 = self._get_convex_comb(self.x2, random_state) # convex combination within x2
Paper description (Bridgeford et al., 2021):
The paper suggests creating "randomly combined datasets" by taking "random convex combinations of the observed data from each of the two methods choices", which I interpret as mixing data between the two input matrices.
Could you help me understand the rationale behind performing convex combinations within each matrix rather than between them? Is this an intentional design choice for specific theoretical or practical reasons?
Thank you for your time and clarification!
Best regards,
Alex
- Dominant language
- Python
- Stars
- 253
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from neurodata/hyppo
-
random_state=0 is ignored by MeanEmbeddingTest and SmoothCFTestPossibly taken @dnncha claimed this 65 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Reusing Dcorr fails after a previous test callPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Great Repository!Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day