/dports/www/grafana8/grafana-8.3.6/vendor/gonum.org/v1/gonum/stat/ |
H A D | roc.go | 56 if len(cutoffs) == 0 { 57 if cutoffs == nil || cap(cutoffs) < len(y)+1 { 60 cutoffs = cutoffs[:len(y)+1] 64 cutoffs[bin] = y[0] 70 cutoffs[bin] = u 73 cutoffs = cutoffs[:bin+2] 76 tmp := cutoffs 77 cutoffs = make([]float64, len(cutoffs)) 78 copy(cutoffs, tmp) 88 for bin < len(cutoffs)-1 && y[i] >= cutoffs[bin] { [all …]
|
H A D | roc_test.go | 21 cutoffs []float64 51 cutoffs: []float64{-1, 2, 4, 6, 8}, 59 cutoffs: []float64{-1, 1, 2, 3, 4, 5, 6, 7, 8}, 68 cutoffs: []float64{-1, 2, 4, 6, 8}, 100 cutoffs: []float64{-1, 2, 4, 6, 8}, 117 cutoffs: []float64{-1, 2, 4, 6, 8}, 148 cutoffs: []float64{-1, 2.5, 5, 7.5, 10}, 163 cutoffs: []float64{-1, 2}, 186 cutoffs: []float64{-1, 1}, 208 cutoffs: []float64{-1, 2.5, 5, 7.5, 10}, [all …]
|
/dports/biology/ncbi-toolkit/ncbi/algo/blast/core/ |
H A D | blast_diagnostics.c | 43 sfree(diagnostics->cutoffs); in Blast_DiagnosticsFree() 70 if (diagnostics->cutoffs) { in Blast_DiagnosticsCopy() 71 memcpy((void*)retval->cutoffs, (void*)diagnostics->cutoffs, in Blast_DiagnosticsCopy() 74 sfree(diagnostics->cutoffs); in Blast_DiagnosticsCopy() 88 diagnostics->cutoffs = in Blast_DiagnosticsInit() 150 if (global->cutoffs && local->cutoffs) { in Blast_DiagnosticsUpdate() 151 global->cutoffs->x_drop_ungapped = local->cutoffs->x_drop_ungapped; in Blast_DiagnosticsUpdate() 152 global->cutoffs->x_drop_gap = local->cutoffs->x_drop_gap; in Blast_DiagnosticsUpdate() 153 global->cutoffs->x_drop_gap_final = local->cutoffs->x_drop_gap_final; in Blast_DiagnosticsUpdate() 154 global->cutoffs->ungapped_cutoff = local->cutoffs->ungapped_cutoff; in Blast_DiagnosticsUpdate() [all …]
|
H A D | blast_parameters.c | 122 sfree(parameters->cutoffs); in BlastInitialWordParametersFree() 192 p->cutoffs = (BlastUngappedCutoffs *)calloc( in BlastInitialWordParametersNew() 217 p->cutoffs[context].x_dropoff_init = in BlastInitialWordParametersNew() 716 sfree(parameters->cutoffs); in BlastHitSavingParametersFree() 771 params->cutoffs = (BlastGappedCutoffs *)calloc( in BlastHitSavingParametersNew() 874 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 875 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 898 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 899 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 914 params->cutoffs[context].cutoff_score = INT4_MAX; in BlastHitSavingParametersUpdate() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/blast/core/ |
H A D | blast_diagnostics.c | 43 sfree(diagnostics->cutoffs); in Blast_DiagnosticsFree() 70 if (diagnostics->cutoffs) { in Blast_DiagnosticsCopy() 71 memcpy((void*)retval->cutoffs, (void*)diagnostics->cutoffs, in Blast_DiagnosticsCopy() 74 sfree(diagnostics->cutoffs); in Blast_DiagnosticsCopy() 88 diagnostics->cutoffs = in Blast_DiagnosticsInit() 150 if (global->cutoffs && local->cutoffs) { in Blast_DiagnosticsUpdate() 151 global->cutoffs->x_drop_ungapped = local->cutoffs->x_drop_ungapped; in Blast_DiagnosticsUpdate() 152 global->cutoffs->x_drop_gap = local->cutoffs->x_drop_gap; in Blast_DiagnosticsUpdate() 153 global->cutoffs->x_drop_gap_final = local->cutoffs->x_drop_gap_final; in Blast_DiagnosticsUpdate() 154 global->cutoffs->ungapped_cutoff = local->cutoffs->ungapped_cutoff; in Blast_DiagnosticsUpdate() [all …]
|
H A D | blast_parameters.c | 122 sfree(parameters->cutoffs); in BlastInitialWordParametersFree() 192 p->cutoffs = (BlastUngappedCutoffs *)calloc( in BlastInitialWordParametersNew() 217 p->cutoffs[context].x_dropoff_init = in BlastInitialWordParametersNew() 720 sfree(parameters->cutoffs); in BlastHitSavingParametersFree() 775 params->cutoffs = (BlastGappedCutoffs *)calloc( in BlastHitSavingParametersNew() 878 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 879 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 902 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 903 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 918 params->cutoffs[context].cutoff_score = INT4_MAX; in BlastHitSavingParametersUpdate() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/algo/blast/core/ |
H A D | blast_diagnostics.c | 43 sfree(diagnostics->cutoffs); in Blast_DiagnosticsFree() 70 if (diagnostics->cutoffs) { in Blast_DiagnosticsCopy() 71 memcpy((void*)retval->cutoffs, (void*)diagnostics->cutoffs, in Blast_DiagnosticsCopy() 74 sfree(diagnostics->cutoffs); in Blast_DiagnosticsCopy() 88 diagnostics->cutoffs = in Blast_DiagnosticsInit() 150 if (global->cutoffs && local->cutoffs) { in Blast_DiagnosticsUpdate() 151 global->cutoffs->x_drop_ungapped = local->cutoffs->x_drop_ungapped; in Blast_DiagnosticsUpdate() 152 global->cutoffs->x_drop_gap = local->cutoffs->x_drop_gap; in Blast_DiagnosticsUpdate() 153 global->cutoffs->x_drop_gap_final = local->cutoffs->x_drop_gap_final; in Blast_DiagnosticsUpdate() 154 global->cutoffs->ungapped_cutoff = local->cutoffs->ungapped_cutoff; in Blast_DiagnosticsUpdate() [all …]
|
H A D | blast_parameters.c | 122 sfree(parameters->cutoffs); in BlastInitialWordParametersFree() 192 p->cutoffs = (BlastUngappedCutoffs *)calloc( in BlastInitialWordParametersNew() 217 p->cutoffs[context].x_dropoff_init = in BlastInitialWordParametersNew() 720 sfree(parameters->cutoffs); in BlastHitSavingParametersFree() 775 params->cutoffs = (BlastGappedCutoffs *)calloc( in BlastHitSavingParametersNew() 878 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 879 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 902 params->cutoffs[context].cutoff_score = new_cutoff; in BlastHitSavingParametersUpdate() 903 params->cutoffs[context].cutoff_score_max = new_cutoff; in BlastHitSavingParametersUpdate() 918 params->cutoffs[context].cutoff_score = INT4_MAX; in BlastHitSavingParametersUpdate() [all …]
|
/dports/textproc/py-nltk/nltk-3.4.1/nltk/classify/ |
H A D | util.py | 109 def __init__(self, cutoffs): argument 110 self.cutoffs = cutoffs.copy() 111 if 'min_ll' in cutoffs: 112 cutoffs['min_ll'] = -abs(cutoffs['min_ll']) 114 cutoffs['min_lldelta'] = abs(cutoffs['min_lldelta']) 120 cutoffs = self.cutoffs 122 if 'max_iter' in cutoffs and self.iter >= cutoffs['max_iter']: 129 if 'min_ll' in cutoffs or 'min_lldelta' in cutoffs: 130 if 'min_ll' in cutoffs and new_ll >= cutoffs['min_ll']: 140 if 'max_acc' in cutoffs or 'min_accdelta' in cutoffs: [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/blast/unit_tests/api/ |
H A D | linkhsp_unit_test.cpp | 667 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 692 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 717 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 744 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 772 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 800 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 816 AllCutoffScores* cutoffs = in BOOST_AUTO_TEST_CASE() local 819 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 839 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 866 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/algo/blast/unit_tests/api/ |
H A D | linkhsp_unit_test.cpp | 667 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 692 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 717 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 744 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 772 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 800 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 816 AllCutoffScores* cutoffs = in BOOST_AUTO_TEST_CASE() local 819 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 839 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() 866 sfree(cutoffs); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | ans_common.cc | 93 cutoffs[i] = distribution[i]; in InitAliasTable() 94 if (cutoffs[i] > entry_size) { in InitAliasTable() 96 } else if (cutoffs[i] < entry_size) { in InitAliasTable() 101 cutoffs[i] = 0; in InitAliasTable() 112 cutoffs[overfull_i] -= underfull_by; in InitAliasTable() 115 a[underfull_i].offsets1 = cutoffs[overfull_i]; in InitAliasTable() 118 if (cutoffs[overfull_i] < entry_size) { in InitAliasTable() 120 } else if (cutoffs[overfull_i] > entry_size) { in InitAliasTable() 128 if (cutoffs[i] == entry_size) { in InitAliasTable() 137 a[i].offsets1 -= cutoffs[i]; in InitAliasTable() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/ |
H A D | ans_common.cc | 93 cutoffs[i] = distribution[i]; in InitAliasTable() 94 if (cutoffs[i] > entry_size) { in InitAliasTable() 96 } else if (cutoffs[i] < entry_size) { in InitAliasTable() 101 cutoffs[i] = 0; in InitAliasTable() 112 cutoffs[overfull_i] -= underfull_by; in InitAliasTable() 115 a[underfull_i].offsets1 = cutoffs[overfull_i]; in InitAliasTable() 118 if (cutoffs[overfull_i] < entry_size) { in InitAliasTable() 120 } else if (cutoffs[overfull_i] > entry_size) { in InitAliasTable() 128 if (cutoffs[i] == entry_size) { in InitAliasTable() 137 a[i].offsets1 -= cutoffs[i]; in InitAliasTable() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | ans_common.cc | 93 cutoffs[i] = distribution[i]; in InitAliasTable() 94 if (cutoffs[i] > entry_size) { in InitAliasTable() 96 } else if (cutoffs[i] < entry_size) { in InitAliasTable() 101 cutoffs[i] = 0; in InitAliasTable() 112 cutoffs[overfull_i] -= underfull_by; in InitAliasTable() 115 a[underfull_i].offsets1 = cutoffs[overfull_i]; in InitAliasTable() 118 if (cutoffs[overfull_i] < entry_size) { in InitAliasTable() 120 } else if (cutoffs[overfull_i] > entry_size) { in InitAliasTable() 128 if (cutoffs[i] == entry_size) { in InitAliasTable() 137 a[i].offsets1 -= cutoffs[i]; in InitAliasTable() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | ans_common.cc | 93 cutoffs[i] = distribution[i]; in InitAliasTable() 94 if (cutoffs[i] > entry_size) { in InitAliasTable() 96 } else if (cutoffs[i] < entry_size) { in InitAliasTable() 101 cutoffs[i] = 0; in InitAliasTable() 112 cutoffs[overfull_i] -= underfull_by; in InitAliasTable() 115 a[underfull_i].offsets1 = cutoffs[overfull_i]; in InitAliasTable() 118 if (cutoffs[overfull_i] < entry_size) { in InitAliasTable() 120 } else if (cutoffs[overfull_i] > entry_size) { in InitAliasTable() 128 if (cutoffs[i] == entry_size) { in InitAliasTable() 137 a[i].offsets1 -= cutoffs[i]; in InitAliasTable() [all …]
|
/dports/science/py-hiphive/hiphive-0.7.1/hiphive/core/ |
H A D | clusters.py | 14 def get_clusters(atoms, cutoffs, nPrim, multiplicity=True, argument 54 for order in cutoffs.orders: 59 for nbody in cutoffs.nbodies: 60 cutoff = cutoffs.max_nbody_cutoff(nbody) 63 for order in range(nbody, cutoffs.max_nbody_order(nbody) + 1): 67 if cutoff < cutoffs.get_cutoff(nbody=nbody, order=order): 81 clusters, cutoffs = [], [] 101 cutoffs.append(np.max(distance_matrix[cluster, :][:, cluster])) 102 return clusters, cutoffs
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/language_model/transformer/ |
H A D | embedding.py | 66 def __init__(self, vocab_size: int, embed_size: int, units: int, cutoffs: List[int], 71 if cutoffs != sorted(cutoffs): 73 'Got {}, but expected {}'.format(cutoffs, sorted(cutoffs))) 74 if not cutoffs: 75 raise ValueError('cutoffs must not be empty. Got {}'.format(cutoffs)) 76 if cutoffs[0] <= 0: 77 raise ValueError('The first cutoff value ({}) must be greater 0.'.format(cutoffs[0])) 78 if cutoffs[-1] >= vocab_size: 81 cutoffs[-1], vocab_size)) 85 self._cutoffs = [0] + cutoffs + [vocab_size]
|
H A D | softmax.py | 173 self._cutoffs = [0] + cutoffs + [vocab_size] 184 if cutoffs != sorted(cutoffs): 186 'Got {}, but expected {}'.format(cutoffs, sorted(cutoffs))) 187 if not cutoffs: 188 raise ValueError('cutoffs must not be empty. Got {}'.format(cutoffs)) 189 if cutoffs[0] <= 0: 191 if cutoffs[-1] >= vocab_size: 194 cutoffs[-1], vocab_size)) 208 if len(tie_projections) != len(cutoffs) + 1: 212 tie_projections, cutoffs)) [all …]
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/tests/ |
H A D | test_transformer_xl.py | 62 def test_adaptive_embedding(embed_size, units, cutoffs, div_val, hybridize): argument 65 cutoffs=cutoffs, div_val=div_val) 81 def test_adaptive_softmax(embed_size, units, cutoffs, div_val, tie_with_adaptive_embedding, argument 86 embed_size=embed_size, units=units, cutoffs=cutoffs, div_val=div_val) 91 cutoffs=cutoffs, div_val=div_val) 93 net = Net(tie_embeddings=True, tie_projections=[True] * (len(cutoffs) + 1), 127 def test_transformer_xl_model(embed_size, units, cutoffs, div_val, mem_len, hybridize): argument 131 embed_cutoffs=cutoffs, embed_div_val=div_val)
|
/dports/science/openkim-models/openkim-models-2021-01-28/model-drivers/Morse_EIP__MD_429561112321_002/ |
H A D | Morse_EIP.c | 163 double * cutoffs; member 826 double * cutoffs; in refresh() local 845 cutoffs = buffer->cutoffs; in refresh() 869 = (cutoffs[indx] * cutoffs[indx]); in refresh() 907 cutoffs[indx], in refresh() 1042 double * cutoffs; in model_driver_create() local 1399 cutoffs, in model_driver_create() 1445 buffer->cutoffs = cutoffs; in model_driver_create() 1469 buffer->cutoffs, in model_driver_create() 1619 = (cutoffs[indx] * cutoffs[indx]); in model_driver_create() [all …]
|
/dports/lang/yorick/yorick-y_2_2_04/gist/ |
H A D | tick60.c | 22 static GpReal cutoffs[N_CUTS]= { 1800., 720., 360., 180., 90., 30., 10. }; variable 31 GpReal delta= cutoffs[0]; in Base60Ticks() 36 finest<=cutoffs[N_CUTS-1] || finest>delta) return 1; in Base60Ticks() 38 for (i0=0 ; i0<N_CUTS && finest<=cutoffs[i0] ; i0++) delta= cutoffs[i0]; in Base60Ticks() 47 for (; i0<N_CUTS && finest<=cutoffs[i0] ; i0++) { in Base60Ticks() 50 if (finest>cutoffs[i0]) break; in Base60Ticks() 55 delta= cutoffs[i0]; in Base60Ticks()
|
/dports/science/py-hiphive/hiphive-0.7.1/hiphive/ |
H A D | cluster_space.py | 22 from .cutoffs import Cutoffs, CutoffMaximumBody, BaseClusterFilter 83 if isinstance(cutoffs, Cutoffs): 84 self._cutoffs = cutoffs 85 elif isinstance(cutoffs, list): 86 self._cutoffs = CutoffMaximumBody(cutoffs, len(cutoffs) + 1) 131 def cutoffs(self): member in ClusterSpace 255 if order not in self.cutoffs.orders: 310 n_rows = self.cutoffs.max_nbody 311 n_cols = self.cutoffs.max_order - 1 314 cutoff_matrix = self.cutoffs.cutoff_matrix [all …]
|
/dports/science/siesta/siesta-4.1.5/Util/Scripting/old-python-interface/ |
H A D | cutoff.py | 20 cutoffs = Num.arange(100.0,801.0,100.0) variable 21 energy = 0.0*cutoffs 66 for i in range(len(cutoffs)): 67 cutoff = cutoffs[i] 78 p.add(biggles.Curve(cutoffs[:],energy[:]))
|
/dports/security/py-sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/policy/ |
H A D | cutofflist.rs | 104 pub(super) cutoffs: VecOrSlice<'static, Option<Timestamp>>, field 124 cutoffs: VecOrSlice::empty(), in reject_all() 140 if i >= self.cutoffs.len() { in set() 142 self.cutoffs.resize(i + 1, DEFAULT_POLICY) in set() 144 self.cutoffs[i] = cutoff; in set() 151 *self.cutoffs.get(i as usize).unwrap_or(&DEFAULT_POLICY) in cutoff() 196 cutoffs: VecOrSlice::Vec(Self::DEFAULTS.to_vec()), 238 cutoffs: VecOrSlice::Slice(&Self::DEFAULTS[..]),
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/openpgp/src/policy/ |
H A D | cutofflist.rs | 104 pub(super) cutoffs: VecOrSlice<'static, Option<Timestamp>>, field 124 cutoffs: VecOrSlice::empty(), in reject_all() 140 if i >= self.cutoffs.len() { in set() 142 self.cutoffs.resize(i + 1, DEFAULT_POLICY) in set() 144 self.cutoffs[i] = cutoff; in set() 151 *self.cutoffs.get(i as usize).unwrap_or(&DEFAULT_POLICY) in cutoff() 196 cutoffs: VecOrSlice::Vec(Self::DEFAULTS.to_vec()), 238 cutoffs: VecOrSlice::Slice(&Self::DEFAULTS[..]),
|