Changeset 408f954 for doc/theses/mike_brooks_MMath/plots/ListCommon.py
- Timestamp:
- Apr 25, 2026, 6:31:13 PM (7 days ago)
- Branches:
- master
- Children:
- 7184906
- Parents:
- 810c2c5
- File:
-
- 1 edited
-
doc/theses/mike_brooks_MMath/plots/ListCommon.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/plots/ListCommon.py
r810c2c5 r408f954 101 101 return timings 102 102 103 # calls = 0 103 104 104 105 def annotateBaseline( timings, marginalizeOn ): 106 # global calls 107 # print( "XXX", calls, marginalizeOn, file=sys.stderr ) 105 108 c_tgtPeers = c( 'Peers', marginalizeOn ) 106 109 c_tgtBl = c("Baseline", marginalizeOn) … … 117 120 # comparing to sz-only baseline gets rid of "they all pitch up," while keeping "SM is faster then ML" 118 121 if 'SizeZone' in marginalizeOn and 'NumNodes' not in marginalizeOn: 122 assert( 'Length' not in marginalizeOn ) # need to treat them in lockstep because of fd 123 # calls += 1 119 124 # special case: sz-only synthetic benchmark 120 125 margNeither = list( set(marginalizeOn) - {'SizeZone'} ) 121 margBoth = list( set(marginalizeOn) | {'NumNodes' } )122 margJustNn = list( set(margNeither) | {'NumNodes' } )126 margBoth = list( set(marginalizeOn) | {'NumNodes', 'Length'} ) 127 margJustNn = list( set(margNeither) | {'NumNodes', 'Length'} ) 123 128 annotateBaseline( timings, margNeither ) 124 129 annotateBaseline( timings, margBoth ) … … 136 141 conditionOn = list( set(explanations) - set(marginalizeOn) ) 137 142 # print( "marginalizing on", marginalizeOn, "conditioning on", conditionOn, file=sys.stderr ) 143 # calls += 1 138 144 139 145 if conditionOn:
Note:
See TracChangeset
for help on using the changeset viewer.