Changeset e35ecd0 for doc/theses/mike_brooks_MMath
- Timestamp:
- Apr 12, 2026, 1:39:35 PM (2 weeks ago)
- Branches:
- master
- Children:
- 2581f1e
- Parents:
- 75ba2fa6
- Location:
- doc/theses/mike_brooks_MMath/plots
- Files:
-
- 3 added
- 1 edited
-
ListCommon.py (modified) (4 diffs)
-
list-2ord.d (added)
-
list-2ord.gp (added)
-
list-2ord.py (added)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/plots/ListCommon.py
r75ba2fa6 re35ecd0 372 372 373 373 374 def trimPer( df, criteria ): 375 for field, values in criteria.items(): 376 areMatches = df[ field ].isin(values) 377 df = df[ areMatches ] 378 return df 379 374 380 # The range from 0.9759 to 1.0247 (which is 1.05 x wide) has 1.0 in its centre. 375 381 # This is the bucket with key 0. … … 417 423 tgtAccessor = 'all', 418 424 tgtInterleave = 0.0, 425 earlyFilter = {}, # exclude from benchmarking 426 lateFilter = {}, # exclude from output 419 427 drillOn = ['fx'], 420 428 marginalizeOn = None ): # None means match drill-on … … 434 442 szInc = ['SM', 'ML'], 435 443 sExcl = [1] ) 436 437 438 # annotateBaselines(timings) 439 444 445 timings = trimPer( timings, earlyFilter ) 440 446 441 447 options = timings.groupby(explanations) 442 443 448 aggregated = options.agg( 444 449 mean_op_dur_ns = ('mean_op_dur_ns', gMeanNoOutlr) 445 450 ).reset_index() 446 447 448 451 annotateBaseline(aggregated, marginalizeOn) 449 # annotateCommonBaselines(aggregated) 450 452 453 aggregated = trimPer( aggregated, lateFilter ) 451 454 452 455 # if examining "why CFA slow" need both … … 467 470 468 471 drillgrp = aggregated.groupby(drillOn) 469 470 472 471 473 # print(f'measure is {measure}')
Note:
See TracChangeset
for help on using the changeset viewer.