LSSTDESC / rail_base

Base classes for RAIL
MIT License
0 stars 1 forks source link

Bring parallelization up to PZClassifier #88

Closed OliviaLynn closed 8 months ago

OliviaLynn commented 8 months ago

Problem & Solution Description (including issue #)

Brings parallelization code of UniformBinningClassifier up to parent PZClassifier. (While I'm not making the equal count classifier parallelized as well, that and future classifiers would now be able to run in parallel by implementing their own version of _process_chunk).

Adds in some docstrings to make the process as transparent as possible, and ideally a helpful template for anyone ramping up on rail-style parallelization in the future.

Code Quality

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 92.85714% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 97.11%. Comparing base (40802f3) to head (99d3fd8). Report is 2 commits behind head on main.

Files Patch % Lines
src/rail/estimation/algos/uniform_binning.py 66.66% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #88 +/- ## ========================================== - Coverage 97.20% 97.11% -0.09% ========================================== Files 32 32 Lines 1755 1770 +15 ========================================== + Hits 1706 1719 +13 - Misses 49 51 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.