Home
last modified time | relevance | path

Searched refs:prob_sum (Results 1 – 25 of 82) sorted by relevance

1234

/dports/math/chaco/Chaco-2.2/code/coarsen/
H A Dmaxmatch3.c51 prob_sum = 0;
57 if (prob_sum == 0)
61 prob_sum += 1.0;
73 prob_sum = 0;
77 prob_sum += 1.0;
78 if (prob_sum >= val) {
95 prob_sum = 0;
101 if (prob_sum == 0)
106 prob_sum += ewgt;
118 prob_sum = 0;
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/pkundu/meica.libs/mdp/test/
H A Dtest_classifier.py104 prob_sum = 0
107 prob_sum += v
111 assert abs(prob_sum - 1.0) < 1e-5
120 prob_sum = 0
122 prob_sum += prob
126 assert abs(prob_sum - 1.0) < 1e-5
/dports/science/py-mdp/MDP-3.5/mdp/test/
H A Dtest_classifier.py108 prob_sum = 0
111 prob_sum += v
115 assert abs(prob_sum - 1.0) < 1e-5
124 prob_sum = 0
126 prob_sum += prob
130 assert abs(prob_sum - 1.0) < 1e-5
/dports/biology/gatk/gatk-4.2.0.0/src/main/python/org/broadinstitute/hellbender/gcnvkernel/models/
H A Dcommons.py30 prob_sum = np.sum(prob_vector)
31 if np.abs(prob_sum - 1.0) < prob_sum_tol:
36 "for unintentional errors.".format(prob_vector, prob_sum_tol, prob_sum))
37 return prob_vector / prob_sum
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/cpp/algo/
H A Dboxm2_compute_normal_albedo_functor_opt.cxx158 double prob_sum = 0.0; in process_cell() local
167 prob_sum += opt_prob; in process_cell()
169 if (prob_sum > 1e-100) { in process_cell()
171 naa_model.set_probability(n,float(normal_probs[n]/prob_sum)); in process_cell()
H A Dboxm2_compute_normal_albedo_functor.cxx154 double prob_sum = 0.0; in process_cell() local
231 prob_sum += pred_prob; in process_cell()
233 if (prob_sum <= 1e-40) { in process_cell()
240 double normal_prob = obs_probs[n]/prob_sum; in process_cell()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/
H A Dsdet_atmospheric_image_classifier.cxx39 float prob_sum = 0.0f; in category_quality_color_mix() local
44 prob_sum += p; in category_quality_color_mix()
53 float u = up/prob_sum; in category_quality_color_mix()
55 float p_bad = atmos_sum/(prob_sum-up); in category_quality_color_mix()
56 float p_good = no_atmos_sum/(prob_sum-up); in category_quality_color_mix()
67 if (up<prob_sum) in category_quality_color_mix()
H A Dsdet_texture_classifier.cxx1019 float prob_sum = 0.0f; in compute_interclass_probs() local
1025 prob_total += prob_sum; in compute_interclass_probs()
1285 float prob_sum = 0.0f; in texture_probabilities() local
1293 prob_sum /= np; in texture_probabilities()
1294 probs[cat] = prob_sum; in texture_probabilities()
1304 float prob_sum = 0.0f; in prob_hist_intersection() local
1307 prob_sum += (vc<=vh)?vc:vh; in prob_hist_intersection()
1309 return prob_sum; in prob_hist_intersection()
1343 float prob_sum = 0.0f; in category_color_mix() local
1349 prob_sum += p; in category_color_mix()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/batch/
H A Dbatch_naa_kernels.cl92 float prob_sum = dot(normal_probs,(float16)1.0);
93 if (prob_sum > 1e-10)
95 *probs = normal_probs / prob_sum;
/dports/biology/iqtree/IQ-TREE-2.0.6/main/
H A Dtreetesting.cpp1262 double prob_sum = 0.0; in evaluateTrees() local
1266 prob_sum += tree_probs[tree_ranks[tid]]; in evaluateTrees()
1267 if (prob_sum > 0.95) break; in evaluateTrees()
1271 for (tid = 0, prob_sum = 0.0; tid < ntrees; tid++) in evaluateTrees()
1272 prob_sum += tree_probs[tid]; in evaluateTrees()
1273 if (fabs(prob_sum-1.0) > 0.01) in evaluateTrees()
1418 prob_sum = 0.0; in evaluateTrees()
1422 prob_sum += tree_probs[tree_ranks[tid]]; in evaluateTrees()
1423 if (prob_sum > 0.95) break; in evaluateTrees()
1428 prob_sum += tree_probs[tid]; in evaluateTrees()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/cld_3/src/src/
H A Dnnet_language_identifier.cc43 float prob_sum = 0.0; member
308 lang_stats[language].prob_sum += in FindTopNMostFreqLangs()
336 result.probability = stats.prob_sum / stats.byte_sum; in FindTopNMostFreqLangs()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/cld_3/src/src/
H A Dnnet_language_identifier.cc43 float prob_sum = 0.0; member
308 lang_stats[language].prob_sum += in FindTopNMostFreqLangs()
336 result.probability = stats.prob_sum / stats.byte_sum; in FindTopNMostFreqLangs()
/dports/biology/py-biopython/biopython-1.79/Bio/HMM/
H A DMarkovModel.py200 prob_sum = sum(self.initial_prob.values())
201 if prob_sum > 1.0:
204 prob = (1.0 - prob_sum) / num_states_not_set
/dports/games/scid/scid/src/polyglot/
H A Dbook.cpp77 int prob_sum = 0; in scid_book_update() local
98 prob_sum += prob[i]; in scid_book_update()
100 double coef = (prob_sum) ? double(sum)/double(prob_sum) : 0; in scid_book_update()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_addsub/
H A Drfnoc_block_addsub_tb.sv209 int prob_sum = STALL_PROB, port
218 blk_ctrl.set_slave_stall_prob(OUT_PORT_SUM, prob_sum);
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdrun/
H A Dreplicaexchange.cpp133 real* prob_sum; member
460 snew(re->prob_sum, re->nrepl); in init_replica_exchange()
1013 re->prob_sum[0] += prob[0]; in test_for_replica_exchange()
1062 re->prob_sum[i] += prob[i]; in test_for_replica_exchange()
1358 re->prob[i] = re->prob_sum[i] / re->nattempt[i % 2]; in print_replica_exchange_statistics()
/dports/science/plumed/plumed2-2.7.2/patches/gromacs-2021.diff/src/gromacs/mdrun/
H A Dreplicaexchange.cpp144 real* prob_sum; member
480 snew(re->prob_sum, re->nrepl); in init_replica_exchange()
1047 re->prob_sum[0] += prob[0]; in test_for_replica_exchange()
1133 re->prob_sum[i] += prob[i]; in test_for_replica_exchange()
1453 re->prob[i] = re->prob_sum[i] / re->nattempt[i % 2]; in print_replica_exchange_statistics()
/dports/science/plumed/plumed2-2.7.2/patches/gromacs-2019.6.diff/src/gromacs/mdrun/
H A Dreplicaexchange.cpp138 real *prob_sum; member
459 snew(re->prob_sum, re->nrepl); in init_replica_exchange()
1031 re->prob_sum[0] += prob[0]; in test_for_replica_exchange()
1117 re->prob_sum[i] += prob[i]; in test_for_replica_exchange()
1447 re->prob[i] = re->prob_sum[i]/re->nattempt[i%2]; in print_replica_exchange_statistics()
/dports/science/plumed/plumed2-2.7.2/patches/gromacs-2020.6.diff/src/gromacs/mdrun/
H A Dreplicaexchange.cpp144 real* prob_sum; member
480 snew(re->prob_sum, re->nrepl); in init_replica_exchange()
1049 re->prob_sum[0] += prob[0]; in test_for_replica_exchange()
1135 re->prob_sum[i] += prob[i]; in test_for_replica_exchange()
1455 re->prob[i] = re->prob_sum[i] / re->nattempt[i % 2]; in print_replica_exchange_statistics()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dstmt.c703 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
707 prob_sum += e->probability; in get_outgoing_edge_probs()
708 return prob_sum; in get_outgoing_edge_probs()
/dports/lang/gcc9/gcc-9.4.0/gcc/
H A Dstmt.c701 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
705 prob_sum += e->probability; in get_outgoing_edge_probs()
706 return prob_sum; in get_outgoing_edge_probs()
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/
H A Dstmt.c703 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
707 prob_sum += e->probability; in get_outgoing_edge_probs()
708 return prob_sum; in get_outgoing_edge_probs()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/
H A Dstmt.c703 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
707 prob_sum += e->probability; in get_outgoing_edge_probs()
708 return prob_sum; in get_outgoing_edge_probs()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/
H A Dstmt.c703 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
707 prob_sum += e->probability; in get_outgoing_edge_probs()
708 return prob_sum; in get_outgoing_edge_probs()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dstmt.c703 profile_probability prob_sum = profile_probability::never (); in get_outgoing_edge_probs() local
707 prob_sum += e->probability; in get_outgoing_edge_probs()
708 return prob_sum; in get_outgoing_edge_probs()

1234