You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Temporary fix @elts6570 : When using the .convert_to() method, we should provide quantile values that aren't exactly 0 or 1, i.e. offset from those by a tiny number like 1e-15. The .pdf() method still gives wonky results, but they're not nearly as crazy.
A more comprehensive solution will entail:
Checking for 0 or 1 in the input values to .ppf() and performing the above offset if necessary.
Adding a check for inf values in the locs provided to quant_gen.
Debugging the .pdf() method to prevent constant-valued stretches even for reconstruction options other than piecewise_constant.
Debugging the .pdf() method to prevent negative values under piecewise_linear option.
Adding a check that the CDF in between initially provided locs is equal to initially provided quants.
.../tests/distribution_generator_tests/
subdirectory. Break aparttest_ensemble.py
and move thequant_gen
specific tests into their own unittest module -test_quant_gen.py
. #153quant_pdf.pad_quantiles
.dual_spline_average
pdf constructor.quantile_distribution_demo
notebook more beautiful.quant_gen
class to becdf_spline_derivative
and update associated unit tests.The text was updated successfully, but these errors were encountered: