new function plot_rel_prob_surfaces(), which returns N figures (N = number of classes) visualizing relative probability over a 2D subspace for a given class
moved calculating bounds to its own function get_bounds() to avoid duplicating code
tests for both
minor tweaks: removed greyscale colors for class visualization, so they can be reserved for the future None class, renamed tests for clarity, small fixes to docstrings
Todos:
[ ] currently only 2D input, will handle higher dimensions with the #48 request soon
[x] ~currently only classes from population samples, will add support for None class when that part is fixed~ done
Checklist
Please check all that apply to your proposed changes
Description of the Change
Added relative probability maps + tests.
plot_rel_prob_surfaces()
, which returns N figures (N = number of classes) visualizing relative probability over a 2D subspace for a given classget_bounds()
to avoid duplicating codeTodos:
Checklist
Please check all that apply to your proposed changes