Closed LukasBeiske closed 5 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
9b2088d
) 92.53% compared to head (3e2e736
) 92.53%.
Files | Patch % | Lines |
---|---|---|
src/ctapipe/tools/train_particle_classifier.py | 92.85% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I'm not sure why this provenance test is failing right now. It works on my machine...
Edit: Fixed by #2469
This removes the
n_signal
andn_background
options ofctapipe-train-particle-classifier
. Instead the total number of training eventsn_events
and thesignal_fraction
can be chosen, where $$\texttt{signal\_fraction}= \frac{n_s}{n_s + n_b}.$$ Ifn_events
is not specified, as many events as possible will be used considering the givensignal_fraction
.