Skip to content

Conversation

@garrettwrong
Copy link
Collaborator

Coded up the median sign group mean we discussed yesterday for Cn out product estimation. It also has the mean and var fwiw.

Feel free to rename things if you end up proceeding in this direction. I didn't spend any time thinking about good names.

Even if you don't take the median approach, it might be useful to use something like this for the code so that we decouple this estimation (and all the supporting code/tests) from being in the middle of the other algorithm. This will also make it easier to change in the future, so long as the push semantic will work for you... since we're in agreement there is work to do here.

If we really want to take a straight median there isn't really a way around accumulating all the arrays (not the end of the world).

@garrettwrong garrettwrong added enhancement New feature or request help wanted Extra attention is needed theory Relating to theoretical background labels Jan 27, 2023
@garrettwrong garrettwrong requested a review from j-c-c January 27, 2023 16:29
@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Merging #845 (eabaf4a) into abinitio_cn (e29047d) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           abinitio_cn     #845      +/-   ##
===============================================
+ Coverage        86.90%   86.94%   +0.04%     
===============================================
  Files              114      114              
  Lines             9085     9118      +33     
===============================================
+ Hits              7895     7928      +33     
  Misses            1190     1190              
Impacted Files Coverage Δ
src/aspire/abinitio/commonline_cn.py 24.74% <100.00%> (+15.42%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@j-c-c j-c-c marked this pull request as ready for review January 30, 2023 15:07
@j-c-c j-c-c requested a review from janden as a code owner January 30, 2023 15:07
@j-c-c j-c-c merged commit f0a1bed into abinitio_cn Jan 30, 2023
@garrettwrong garrettwrong deleted the vee branch February 6, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed theory Relating to theoretical background

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants