/third_party/boost/libs/math/example/ |
D | binomial_coinflip_example.cpp | 143 double probability = pdf(flip, successes); in main() local 145 << probability << " or 1 in " << 1. / probability in main() 146 << ", or " << probability * 100. << "%" << endl; in main() 155 double probability = cdf(flip, successes); // P(X <= heads) in main() local 157 << probability << " or 1 in " << 1. / probability << ", or " in main() 158 << probability * 100. << "%"<< endl; in main() 163 double probability = 0.3; in main() local 164 double q = quantile(flip, probability); in main() 165 …std::cout << "Quantile (flip, " << probability << ") = " << q << std::endl; // Quantile (flip, 0.3… in main() 166 probability = 0.6; in main() [all …]
|
/third_party/boost/boost/accumulators/statistics/ |
D | extended_p_square_quantile.hpp | 98 this->probability = args[quantile_probability]; in result() 100 …robs = std::lower_bound(this->probabilities.begin(), this->probabilities.end(), this->probability); in result() 105 …if (this->probability < *this->probabilities.begin() || this->probability > *(this->probabilities.… in result() 114 msg << "probability = " << this->probability << " is not in valid range ("; in result() 122 if (*iter_probs == this->probability) in result() 143 res = a * this->probability + b; in result() 153 …if ( (dist == 1 || *iter_probs - this->probability <= this->probability - *(iter_probs - 1) ) && d… in result() 181 res = a * this->probability * this-> probability + b * this->probability + c; in result() 196 ar & probability; in serialize() local 202 mutable float_type probability; member
|
/third_party/gstreamer/gstreamer/gst/ |
D | gsttypefind.c | 141 gst_type_find_suggest (GstTypeFind * find, guint probability, GstCaps * caps) in gst_type_find_suggest() argument 144 g_return_if_fail (probability <= 100); in gst_type_find_suggest() 148 find->suggest (find->data, probability, caps); in gst_type_find_suggest() 167 guint probability, const char *media_type) in gst_type_find_suggest_empty_simple() argument 172 g_return_if_fail (probability <= 100); in gst_type_find_suggest_empty_simple() 179 find->suggest (find->data, probability, caps); in gst_type_find_suggest_empty_simple() 209 gst_type_find_suggest_simple (GstTypeFind * find, guint probability, in gst_type_find_suggest_simple() argument 217 g_return_if_fail (probability <= 100); in gst_type_find_suggest_simple() 229 find->suggest (find->data, probability, caps); in gst_type_find_suggest_simple()
|
D | gsttypefind.h | 167 guint probability, 198 guint probability, 202 guint probability, 206 guint probability,
|
/third_party/boost/boost/math/distributions/ |
D | students_t.hpp | 191 RealType probability; in cdf() local 195 probability = ibetac(static_cast<RealType>(0.5), df / 2, z, Policy()) / 2; in cdf() 200 probability = ibeta(df / 2, static_cast<RealType>(0.5), z, Policy()) / 2; in cdf() 202 return (x > 0 ? 1 - probability : probability); in cdf() 212 RealType probability = p; in quantile() local 220 && detail::check_probability(function, probability, &error_result, Policy()))) in quantile() 223 if (probability == 0) in quantile() 225 if (probability == 1) in quantile() 227 if (probability == static_cast<RealType>(0.5)) in quantile() 235 probability = (probability > 0.5) ? 1 - probability : probability; in quantile() [all …]
|
D | binomial.hpp | 319 RealType probability, in find_lower_bound_on_p() argument 329 function, trials, RealType(0), probability, &result, Policy())) in find_lower_bound_on_p() 338 …pearson_exact_interval) ? ibeta_inv(successes, trials - successes + 1, probability, static_cast<Re… in find_lower_bound_on_p() 339 …: ibeta_inv(successes + 0.5f, trials - successes + 0.5f, probability, static_cast<RealType*>(0), P… in find_lower_bound_on_p() 344 RealType probability, in find_upper_bound_on_p() argument 354 function, trials, RealType(0), probability, &result, Policy())) in find_upper_bound_on_p() 360 …earson_exact_interval) ? ibetac_inv(successes + 1, trials - successes, probability, static_cast<Re… in find_upper_bound_on_p() 361 …: ibetac_inv(successes + 0.5f, trials - successes + 0.5f, probability, static_cast<RealType*>(0), … in find_upper_bound_on_p()
|
/third_party/boost/libs/math/doc/distributions/ |
D | geometric.qbk | 30 RealType probability); // alpha 34 RealType probability); // alpha 40 RealType probability); // Probability threshold alpha. 44 RealType probability); // Probability threshold alpha. 57 the probability of observing /k/ trials (failures, events, occurrences, or arrivals) 64 The probability that there are /k/ failures before the first success 68 For example, when throwing a 6-face dice the success probability /p/ = 1/6 = 0.1666[recur]. 70 the probability distribution of the number of times /not-a-three/ is thrown is geometric. 119 Constructor: /p/ or success_fraction is the probability of success of a single trial. 145 RealType probability) // (0 <= alpha <= 1), 0.05 equivalent to 95% confidence. [all …]
|
D | beta.qbk | 38 // either alpha or beta, and x and probability. 43 RealType probability); // cdf 47 RealType x, // probability x. 48 RealType probability); // probability cdf. 55 [@http://en.wikipedia.org/wiki/Probability_distribution probability distribution function]. 71 The [@http://en.wikipedia.org/wiki/Probability_density_function probability density function PDF] 168 RealType probability); // probability cdf 171 `cdf(beta_distribution<RealType>(alpha, beta), x) == probability`. 175 RealType x, // probability x. 176 RealType probability); // probability cdf. [all …]
|
D | dist_algorithms.qbk | 6 to give probability p (given a scale or location). 25 typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. 27 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z. 33 typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. 35 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z. 48 typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. 50 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z. 56 … typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. 58 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z.
|
D | negative_binomial.qbk | 30 RealType probability); // alpha 34 RealType probability); // alpha 40 RealType probability); // Probability threshold alpha. 44 RealType probability); // Probability threshold alpha. 56 negative_binomial distribution gives the probability of observing 118 probability of success of a single trial. 140 RealType probability) // (0 <= alpha <= 1), 0.05 equivalent to 95% confidence. 147 [[alpha][The largest acceptable probability that the true value of 183 [[alpha][The largest acceptable probability that the true value of 212 RealType alpha); // probability threshold (0.05 equivalent to 95%). [all …]
|
D | binomial.qbk | 34 RealType probability, 39 RealType probability, 62 the probability of observing k successes in N trials, with the 63 probability of success on a single trial denoted by p. The 95 probability of success of a single trial. 122 [[alpha][The largest acceptable probability that the true value of 199 [[alpha][The largest acceptable probability that the true value of 237 RealType alpha); // probability threshold 245 [[p][The probability of success for each trial.]] 246 [[alpha][The maximum acceptable probability that k events or fewer will be observed.]] [all …]
|
D | non_members.qbk | 54 * [link math_toolkit.dist_ref.nmp.quantile_c Quantile from the complement of the probability]. 68 The __cdf is the probability that 86 is the probability that 173 For a continuous function, the probability density function (pdf) returns 174 the probability that the variate has the value x. 175 Since for continuous distributions the probability at a single point is actually zero, 176 the probability is better expressed as the integral of the pdf between two points: 179 For a discrete distribution, the pdf is the probability that the 207 This function returns a __domain_error if the probability lies outside [0,1]. 209 that has the specified probability. [all …]
|
D | dist_tutorial.qbk | 98 // with probability of success 0.3 152 n (the number of trials) and p (the probability of success on any one trial). 159 The probability density\/mass function (pdf) is therefore written as ['f(k; n, p)]. 173 For example, the binomial distribution probability distribution function (PDF) is written as 174 [role serif_italic ['f(k| n, p)] = Pr(K = k|n, p) = ] probability of observing k successes out of n… 176 the parameters are n (trials) and p (probability). 196 "the smallest closed set whose complement has probability zero"]. 202 For most distributions, with probability distribution functions one might describe 245 /outwards/: that is to say, lower quantiles - where the probability 247 the probability is greater than 0.5 - are rounded up. This behaviour [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | mjpegenc_huffman.c | 114 from->probability[j] + from->probability[j + 1])) { in ff_mjpegenc_huffman_compute_bits() 116 to->probability[to->nitems - 1] = prob_table[i].prob; in ff_mjpegenc_huffman_compute_bits() 122 to->probability[to->nitems - 1] = in ff_mjpegenc_huffman_compute_bits() 123 from->probability[j] + from->probability[j + 1]; in ff_mjpegenc_huffman_compute_bits()
|
/third_party/mindspore/mindspore/nn/probability/ |
D | README.md | 7 …yro), for the professional Bayesian learning researchers, MDP provides probability sampling, infer… 18 …n.probability.distribution](https://gitee.com/mindspore/mindspore/tree/r1.5/mindspore/nn/probabili… 19 - Bijectors([mindspore.nn.probability.bijectors](https://gitee.com/mindspore/mindspore/tree/r1.5/mi… 23 - SVI([mindspore.nn.probability.infer.variational](https://gitee.com/mindspore/mindspore/tree/r1.5/… 28 - Layers([mindspore.nn.probability.bnn_layers](https://gitee.com/mindspore/mindspore/tree/r1.5/mind… 29 - Dpn([mindspore.nn.probability.dpn](https://gitee.com/mindspore/mindspore/tree/r1.5/mindspore/nn/p… 30 - Transform([mindspore.nn.probability.transforms](https://gitee.com/mindspore/mindspore/tree/r1.5/m… 35 …ion([mindspore.nn.probability.toolbox.uncertainty_evaluation](https://gitee.com/mindspore/mindspor… 51 from mindspore.nn.probability import bnn_layers 182 from mindspore.nn.probability.dpn import VAE [all …]
|
/third_party/iptables/extensions/ |
D | libxt_statistic.t | 3 -m statistic --mode random ! --probability 0.50000000000;=;OK 4 -m statistic --mode random ! --probability 1.1;;FAIL 5 -m statistic --probability 1;;FAIL
|
D | libxt_statistic.txlate | 7 iptables-translate -A OUTPUT -m statistic --mode random --probability 0.1 8 nft # -A OUTPUT -m statistic --mode random --probability 0.1
|
/third_party/gstreamer/gstplugins_base/gst/typefind/ |
D | gsttypefindfunctions.c | 141 guint probability = 95; /* starting probability */ in utf8_type_find_have_valid_utf8_at_offset() local 145 while (probability > step && size > min_size) { in utf8_type_find_have_valid_utf8_at_offset() 152 *prob = probability; in utf8_type_find_have_valid_utf8_at_offset() 159 probability -= step; in utf8_type_find_have_valid_utf8_at_offset() 1645 guint probability = found * GST_TYPE_FIND_MAXIMUM * in mp3_type_find_at_offset() local 1650 && probability > (GST_TYPE_FIND_MINIMUM + GST_MP3_WRONG_HEADER)) in mp3_type_find_at_offset() 1651 probability -= GST_MP3_WRONG_HEADER; in mp3_type_find_at_offset() 1652 if (probability < GST_TYPE_FIND_MINIMUM) in mp3_type_find_at_offset() 1653 probability = GST_TYPE_FIND_MINIMUM; in mp3_type_find_at_offset() 1655 probability /= 2; in mp3_type_find_at_offset() [all …]
|
/third_party/boost/libs/random/test/ |
D | statistic_tests.hpp | 97 double probability(int /*i*/) const { return 1.0/classes(); } in probability() function in equidistribution_experiment 217 double probability(unsigned int r) const in probability() function in runs_experiment 250 double probability(unsigned int r) const in probability() function in gap_experiment 297 double probability(unsigned int r) const in probability() function in poker_experiment 345 double probability(unsigned int r) const in probability() function in coupon_collector_experiment 428 double probability(unsigned int r) const in probability() function in birthday_spacing_experiment 535 double probability(double x) const in probability() function in kolmogorov_experiment 593 UnaryFunction probability) in chi_square_value() argument 604 sum += (count/probability(i)) * count; // avoid overflow in chi_square_value() 609 if(n * probability(i) < 5) in chi_square_value() [all …]
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gsttypefindelement.c | 181 guint probability, GstCaps * caps) in gst_type_find_element_have_type() argument 188 caps, probability); in gst_type_find_element_have_type() 223 guint probability, GstCaps * caps) in gst_type_find_element_emit_have_type() argument 244 probability, caps); in gst_type_find_element_emit_have_type() 930 GstTypeFindProbability * probability) in gst_type_find_guess_by_extension() argument 941 *probability = GST_TYPE_FIND_MAXIMUM; in gst_type_find_guess_by_extension() 1042 GstTypeFindProbability probability; in gst_type_find_element_chain_do_typefinding() local 1052 probability = GST_TYPE_FIND_MAXIMUM; in gst_type_find_element_chain_do_typefinding() 1083 data, avail, ext, &probability); in gst_type_find_element_chain_do_typefinding() 1093 …if (gst_type_find_element_need_do_typefind_again (typefind, probability, caps, at_eos, have_max)) { in gst_type_find_element_chain_do_typefinding() [all …]
|
/third_party/ltp/tools/ |
D | restore_kernel_faults_default.sh | 45 echo 0 > /sys/kernel/debug/fail_io_timeout/probability 57 echo 0 > /sys/kernel/debug/fail_make_request/probability 72 echo 0 > /sys/kernel/debug/fail_page_alloc/probability 85 echo 0 > /sys/kernel/debug/failslab/probability
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gsttypefindhelper.c | 47 helper_find_suggest (gpointer data, guint probability, GstCaps * caps); 227 helper_find_suggest (gpointer data, guint probability, GstCaps * caps) in helper_find_suggest() argument 233 GST_OBJECT_NAME (helper->factory), probability, caps); in helper_find_suggest() 235 if (probability > helper->best_probability) { in helper_find_suggest() 237 helper->best_probability = probability; in helper_find_suggest() 563 buf_helper_find_suggest (gpointer data, guint probability, GstCaps * caps) in buf_helper_find_suggest() argument 569 GST_OBJECT_NAME (helper->factory), probability, caps); in buf_helper_find_suggest() 572 if (probability > helper->best_probability) { in buf_helper_find_suggest() 574 helper->best_probability = probability; in buf_helper_find_suggest()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | random_vertical_flip_with_bbox_op.h | 35 …explicit RandomVerticalFlipWithBBoxOp(float probability = kDefProbability) : distribution_(probabi… in distribution_() argument
|
D | random_horizontal_flip_with_bbox_op.h | 36 …explicit RandomHorizontalFlipWithBBoxOp(float probability = kDefProbability) : distribution_(proba… in distribution_() argument
|
/third_party/boost/libs/math/doc/policies/ |
D | policy_tutorial.qbk | 68 /rounded outwards/. That is to say lower quantiles (where the probability is 69 less than 0.5) are rounded downward, and upper quantiles (where the probability 370 probability - but the result (the value of the random variable) 381 to a probability of 0.05, if we zoom in on the CDF for that region here's 387 a probability of exactly 0.05, so we're left with two choices as 416 ['[*at least] 95% of the probability to the right of the value chosen, 417 and [*no more than] 5% of the probability to the left of the value chosen.] 421 The converse applies to upper-quantiles: If the probability is greater than 423 probability is to the left of the value returned, and [*no more than] 1 - the 424 requested probability is to the right of the value returned.] [all …]
|