mxnet.test_utils.gen_buckets_probs_with_ppf¶
-
mxnet.test_utils.
gen_buckets_probs_with_ppf
(ppf, nbuckets)[source]¶ - Generate the buckets and probabilities for chi_square test when the ppf (Quantile function)
is specified.
- Parameters
ppf (function) – The Quantile function that takes a probability and maps it back to a value. It’s the inverse of the cdf function
nbuckets (int) – size of the buckets
- Returns
buckets (list of tuple) – The generated buckets
probs (list) – The generate probabilities