Home
last modified time | relevance | path

Searched refs:max_label (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/dports/math/vowpal_wabbit/vowpal_wabbit-7.10/vowpalwabbit/
H A Dloss_functions.cc22 if (prediction <= sd->max_label && prediction >= sd->min_label) in getLoss()
34 if (label == sd->max_label) in getLoss()
37 return float((sd->max_label - label) * (sd->max_label - label) in getLoss()
38 + 2. * (sd->max_label - label) * (prediction - sd->max_label)); in getLoss()
58 float t = 0.5f*(sd->min_label+sd->max_label); in getRevertingWeight()
70 else if (prediction > sd->max_label) in first_derivative()
71 prediction = sd->max_label; in first_derivative()
76 if (prediction <= sd->max_label && prediction >= sd->min_label) in second_derivative()
103 float t = 0.5f*(sd->min_label+sd->max_label); in getRevertingWeight()
271 t = 0.5f*(sd->min_label+ sd->max_label); in getRevertingWeight()
[all …]
H A Dnn.cc146 save_max_label = n.all->sd->max_label; in predict_or_learn()
147 n.all->sd->max_label = hidden_max_activation; in predict_or_learn()
178 n.all->sd->max_label = save_max_label; in predict_or_learn()
196 save_max_label = n.all->sd->max_label; in predict_or_learn()
197 n.all->sd->max_label = 1; in predict_or_learn()
226 n.all->sd->max_label = save_max_label; in predict_or_learn()
278 save_max_label = n.all->sd->max_label; in predict_or_learn()
279 n.all->sd->max_label = hidden_max_activation; in predict_or_learn()
301 n.all->sd->max_label = save_max_label; in predict_or_learn()
330 n.all->set_minmax (n.all->sd, sd.max_label); in predict_or_learn()
H A Dsearch_multiclasstask.cc13 size_t max_label; member
22 my_task_data->max_label = num_actions; in initialize()
43 size_t y_allowed_size = (label+mask +1 <= my_task_data->max_label)?2:1; in run()
H A Dsearch_sequencetask.cc223 uint32_t max_label = 1; in run() local
226 max_label = max(ec[i]->l.multi.label, max_label); in run()
230 uint32_t oracle = my_task_data->predict_max ? max_label : ec[i]->l.multi.label; in run()
236 if (max_label > max_prediction) in run()
238 else if (max_prediction > max_label) in run()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/
H A Dsdet_region_edge.cxx33 unsigned int sdet_region_edge::NumLabels(unsigned int max_label) const in NumLabels()
36 if (n<=max_label) in NumLabels()
54 unsigned int max_label) in Prop() argument
65 for (unsigned int i = 0; i<re->NumLabels(max_label); ++i) in Prop()
66 this->SetNewLabel(re->GetLabel(i, max_label)); in Prop()
H A Dsdet_region_edge.h60 unsigned int label, unsigned int max_label);
65 unsigned int NumLabels(unsigned int max_label) const;
66 unsigned int GetLabel(unsigned int i, unsigned int max_label) const in GetLabel() argument
67 { return i<NumLabels(max_label) ? labels_[i] : 0; } in GetLabel()
/dports/graphics/mahotas/mahotas-1.4.11/mahotas/
H A D_center_of_mass.cpp45 int max_label = 0; in py_center_of_mass() local
69 if (labels[i] > max_label) max_label = labels[i]; in py_center_of_mass()
71 totals = new(std::nothrow) double[max_label+1]; in py_center_of_mass()
76 std::fill(totals, totals + max_label + 1, 0.0); in py_center_of_mass()
79 dims[0] = PyArray_NDIM(array) * (max_label+1); in py_center_of_mass()
100 for (int label = 0; label != (max_label+1); ++label) { in py_center_of_mass()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/gpu/people/src/cuda/
H A Dsmooth.cu89 int max_label = src.ptr(y + patch2)[x+patch2]; in smoothKernel() local
102 max_label = sizeof(int)*i+0; in smoothKernel()
109 max_label = sizeof(int)*i+1; in smoothKernel()
116 max_label = sizeof(int)*i+2; in smoothKernel()
123 max_label = sizeof(int)*i+3; in smoothKernel()
127 dst.ptr(y + patch2)[x+patch2] = max_label; in smoothKernel()
/dports/games/gltron/gltron-0.70/src/game/
H A Dmenu.c12 int max_label = 0; in drawMenu() local
51 if(len_label > max_label) max_label = len_label; in drawMenu()
57 hsize = (int) ((float)d->vp_w * MENU_WIDTH / (float) (max_label + max_data)); in drawMenu()
121 drawText(guiFtx, x + max_label * size, y, size, line_data); in drawMenu()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brip/
H A Dbrip_ms_blob_detection.cxx101 unsigned max_label = 0; in brip_blob_connect_comp_bb() local
104 if (label(i, j) > max_label) max_label = label(i, j); in brip_blob_connect_comp_bb()
109 std::vector<unsigned> i_min_full(max_label - 1, label.ni() - 1); in brip_blob_connect_comp_bb()
110 std::vector<unsigned> j_min_full(max_label - 1, label.nj() - 1); in brip_blob_connect_comp_bb()
111 std::vector<unsigned> i_max_full(max_label - 1, 0); in brip_blob_connect_comp_bb()
112 std::vector<unsigned> j_max_full(max_label - 1, 0); in brip_blob_connect_comp_bb()
113 for (unsigned lab = 1; lab <= max_label; lab++) { in brip_blob_connect_comp_bb()
129 for (unsigned lab = 0; lab < max_label; lab++) { in brip_blob_connect_comp_bb()
/dports/science/py-scipy/scipy-1.7.1/scipy/ndimage/src/
H A Dni_measure.c76 int NI_FindObjects(PyArrayObject* input, npy_intp max_label, in NI_FindObjects() argument
92 for (jj = 0; jj < 2 * PyArray_NDIM(input) * max_label; jj++) { in NI_FindObjects()
96 for(jj = 0; jj < max_label; jj++) in NI_FindObjects()
103 pi, regions, input, max_label, ii); in NI_FindObjects()
105 pi, regions, input, max_label, ii); in NI_FindObjects()
107 pi, regions, input, max_label, ii); in NI_FindObjects()
109 pi, regions, input, max_label, ii); in NI_FindObjects()
111 pi, regions, input, max_label, ii); in NI_FindObjects()
113 pi, regions, input, max_label, ii); in NI_FindObjects()
115 pi, regions, input, max_label, ii); in NI_FindObjects()
[all …]
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/imagery/imagery_maxent/
H A Dmaxent.cpp102 int max_label = -1; in conditional_probability() local
131 if (membp[label] > membp[max_label]) max_label = label; in conditional_probability()
133 assert(max_label >= 0); in conditional_probability()
134 return max_label; in conditional_probability()
216 int max_label = conditional_probability(*i, membp); in update_model_expectation() local
220 if (max_label == i->label) ncorrect++; in update_model_expectation()
315 int max_label = 0; in train() local
317 max_label = max(max_label, i->label); in train()
319 _num_classes = max_label + 1; in train()
562 int max_label = 0; in classify() local
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/segmentation/
H A Dboundaries.py27 max_label = np.iinfo(label_img.dtype).max
36 label_img_expanded[edges] = max_label
172 max_label = np.iinfo(label_img.dtype).max
176 inverted_background[background_image] = max_label
/dports/science/afni/afni-AFNI_21.3.16/src/scripts_install/
H A D@MakeLabelTable160 set max_label = `1dcat "1D:$llistmax" | sort -rn`
161 set max_label = $max_label[1]
162 if ($max_label < 32) then
164 else if ($max_label < 64) then
166 else if ($max_label < 128) then
273 set max_label = `1dcat "1D:$llistmax" | sort -rn`
274 set max_label = $max_label[1]
275 if ($max_label < 32) then
277 else if ($max_label < 64) then
279 else if ($max_label < 128) then
/dports/textproc/regex2dfa/regex2dfa-0.1.6/third_party/openfst/src/include/fst/extensions/pdt/
H A Dreplace.h69 Label max_label = kNoLabel; in Replace() local
119 if (max_label == kNoLabel || arc.olabel > max_label) in Replace()
120 max_label = arc.olabel; in Replace()
144 Label open_paren = max_label + paren_id + 1; in Replace()
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/include/fst/extensions/pdt/
H A Dreplace.h69 Label max_label = kNoLabel; in Replace() local
119 if (max_label == kNoLabel || arc.olabel > max_label) in Replace()
120 max_label = arc.olabel; in Replace()
144 Label open_paren = max_label + paren_id + 1; in Replace()
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/include/fst/extensions/pdt/
H A Dreplace.h69 Label max_label = kNoLabel; in Replace() local
119 if (max_label == kNoLabel || arc.olabel > max_label) in Replace()
120 max_label = arc.olabel; in Replace()
144 Label open_paren = max_label + paren_id + 1; in Replace()
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Applications/src/
H A Dextract-connected-components.cc169 const GreyPixel max_label = min_label + n - 1; in main() local
173 for (int component_label = min_label; component_label <= max_label; ++component_label) { in main()
188 << ", considering componenents " << min_label << " to " << max_label << "..."; in main()
215 << ", considering componenents " << min_label << " to " << max_label << "..."; in main()
H A Devaluate-surface-overlap.cc541 int max_label = static_cast<int>(range[1]); in main() local
543 if (range[1] > static_cast<double>(max_label)) { in main()
544 max_label = static_cast<int>(range[1]); in main()
548 Array<size_t> target_hist(max_label + 1, 0); in main()
549 Array<size_t> source_hist(max_label + 1, 0); in main()
550 Array<size_t> joint_hist (max_label + 1, 0); in main()
566 for (size_t l = 0; l <= max_label; ++l) { in main()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/segmentation/include/pcl/segmentation/
H A Dextract_labeled_clusters.h68 unsigned int max_label);
198 setMaxLabels(unsigned int max_label) in setMaxLabels() argument
200 max_label_ = max_label; in setMaxLabels()
/dports/graphics/vigra/vigra-8acd73a/include/vigra/
H A Dunion_find.hxx56 static const T max_label = NumericTraits<T>::maxConst >> 1; member
57 static const T anchor_bit = ~max_label;
61 return max_label; in max()
91 return t & max_label; in fromAnchor()
/dports/cad/sumo/sumo-1.2.0/tools/sumolib/
H A Dmiscutils.py96 self.max_label = None
113 self.max_label = label
125 self.max_label = None
220 ('' if self.max_label is None else ' (%s)' %
221 (self.max_label,)),
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/
H A DFloatSlider.cpp55max_label = new wxStaticText(this, wxID_ANY, label, wxDefaultPosition, wxDefaultSize, wxST_NO_AUTO… in FloatSlider()
60 hsizer->Add(max_label, in FloatSlider()
275 max_label->SetLabel(lstr); in SetMax()
/dports/science/py-scipy/scipy-1.7.1/scipy/ndimage/
H A Dmeasurements.py219 max_label = _ni_label._label(input, structure, output)
224 max_label = _ni_label._label(input, structure, tmp_output)
234 return max_label
236 return output, max_label
239 def find_objects(input, max_label=0): argument
302 if max_label < 1:
303 max_label = input.max()
305 return _nd_image.find_objects(input, max_label)
/dports/graphics/evince/evince-41.3/libmisc/
H A Dev-page-action-widget.c114 gchar *max_label; in ev_page_action_widget_update_max_width() local
125 max_label = g_strdup_printf (_("(%d of %d)"), n_pages, n_pages); in ev_page_action_widget_update_max_width()
127 max_label_len = g_utf8_strlen (max_label, -1) - 2; in ev_page_action_widget_update_max_width()
129 max_label = g_strdup_printf (_("of %d"), n_pages); in ev_page_action_widget_update_max_width()
130 max_label_len = g_utf8_strlen (max_label, -1); in ev_page_action_widget_update_max_width()
135 g_free (max_label); in ev_page_action_widget_update_max_width()

12345678910>>...13