Home
last modified time | relevance | path

Searched refs:_samples (Results 1 – 25 of 33) sorted by relevance

12

/external/opencv/ml/src/
Dmlknearest.cpp103 CvVectors* _samples; in train() local
131 CV_CALL( _samples = (CvVectors*)cvAlloc( sizeof(*_samples) + _rsize )); in train()
132 _samples->next = samples; in train()
133 _samples->type = CV_32F; in train()
134 _samples->data.fl = _data; in train()
135 _samples->count = _count; in train()
138 samples = _samples; in train()
139 memcpy( _samples + 1, responses->data.fl, _rsize ); in train()
150 void CvKNearest::find_neighbors_direct( const CvMat* _samples, int k, int start, int end, in find_neighbors_direct() argument
166 const float* u = (float*)(_samples->data.ptr + _samples->step*(start + i)); in find_neighbors_direct()
[all …]
Dmlsvm.cpp386 CvSVMSolver::CvSVMSolver( int _sample_count, int _var_count, const float** _samples, schar* _y, in CvSVMSolver() argument
392 create( _sample_count, _var_count, _samples, _y, _alpha_count, _alpha, _Cp, _Cn, in CvSVMSolver()
397 bool CvSVMSolver::create( int _sample_count, int _var_count, const float** _samples, schar* _y, in create() argument
415 samples = _samples; in create()
954 bool CvSVMSolver::solve_c_svc( int _sample_count, int _var_count, const float** _samples, schar* _y, in solve_c_svc() argument
960 if( !create( _sample_count, _var_count, _samples, _y, _sample_count, in solve_c_svc()
981 bool CvSVMSolver::solve_nu_svc( int _sample_count, int _var_count, const float** _samples, schar* _… in solve_nu_svc() argument
988 if( !create( _sample_count, _var_count, _samples, _y, _sample_count, in solve_nu_svc()
1028 bool CvSVMSolver::solve_one_class( int _sample_count, int _var_count, const float** _samples, in solve_one_class() argument
1035 if( !create( _sample_count, _var_count, _samples, 0, _sample_count, in solve_one_class()
[all …]
Dmlem.cpp303 bool CvEM::train( const CvMat* _samples, const CvMat* _sample_idx, in train() argument
322 _samples, CV_ROW_SAMPLE, 0, CV_VAR_CATEGORICAL, in train()
375 sample.data.ptr = _samples->data.ptr + _samples->step*idx; in train()
/external/opencv3/modules/ml/src/
Dtestset.cpp60 OutputArray _samples, OutputArray _responses) in createConcentricSpheresTestSet() argument
73 _samples.create( num_samples, num_features, CV_32F ); in createConcentricSpheresTestSet()
82 randMVNormal( mean, cov, num_samples, _samples ); in createConcentricSpheresTestSet()
83 Mat samples = _samples.getMat(); in createConcentricSpheresTestSet()
Dknearest.cpp69 virtual float findNearest( InputArray _samples, int k,
143 void findNearestCore( const Mat& _samples, int k0, const Range& range, in findNearestCore() argument
171 const float* u = _samples.ptr<float>(testidx + range.start); in findNearestCore()
290 _samples = &__samples; in findKNearestInvoker()
302 p->findNearestCore( *_samples, k, Range(start, std::min(start + delta, range.end)), in operator ()()
309 const Mat* _samples; member
316 float findNearest( InputArray _samples, int k, in findNearest() argument
324 Mat test_samples = _samples.getMat(); in findNearest()
372 float findNearest( InputArray _samples, int k, in findNearest() argument
380 Mat test_samples = _samples.getMat(); in findNearest()
Dsvm.cpp343 static void sortSamplesByClasses( const Mat& _samples, const Mat& _responses, in sortSamplesByClasses() argument
346 int i, nsamples = _samples.rows; in sortSamplesByClasses()
477 Solver( const Mat& _samples, const vector<schar>& _y, in Solver() argument
486 samples = _samples; in Solver()
1009 static bool solve_c_svc( const Mat& _samples, const vector<schar>& _y, in solve_c_svc() argument
1013 int sample_count = _samples.rows; in solve_c_svc()
1018 Solver solver( _samples, _y, _alpha, _b, _Cp, _Cn, _kernel, in solve_c_svc()
1034 static bool solve_nu_svc( const Mat& _samples, const vector<schar>& _y, in solve_nu_svc() argument
1039 int sample_count = _samples.rows; in solve_nu_svc()
1063 Solver solver( _samples, _y, _alpha, _b, 1., 1., _kernel, in solve_nu_svc()
[all …]
Dinner_functions.cpp152 void randMVNormal( InputArray _mean, InputArray _cov, int nsamples, OutputArray _samples ) in randMVNormal() argument
157 _samples.create(nsamples, dim, CV_32F); in randMVNormal()
158 Mat samples = _samples.getMat(); in randMVNormal()
Dnbayes.cpp193 const Mat& _samples, const Mat& _vidx, const Mat& _cls_labels, in NBPredictBody() argument
200 samples = &_samples; in NBPredictBody()
300 float predict( InputArray _samples, OutputArray _results, int flags ) const in predict() argument
302 return predictProb(_samples, _results, noArray(), flags); in predict()
305 …float predictProb( InputArray _samples, OutputArray _results, OutputArray _resultsProb, int flags … in predictProb() argument
308 Mat samples = _samples.getMat(), results, resultsProb; in predictProb()
Ddata.cpp231 void setData(InputArray _samples, int _layout, InputArray _responses, in setData() argument
238 samples = _samples.getMat(); in setData()
Dgbt.cpp1215 const CvMat* _samples, const CvMat* _missing,
1217 gbt(_gbt), predictions(_predictions), samples(_samples),
Dtree.cpp1494 float DTreesImpl::predict( InputArray _samples, OutputArray _results, int flags ) const in predict() argument
1497 Mat samples = _samples.getMat(), results; in predict()
/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Dthread.py22 self._samples = []
40 return self._samples
77 for sample in self._samples:
82 if len(self._samples) and timestamp < self._samples[-1].start:
87 self._samples.append(sample)
/external/autotest/client/site_tests/graphics_dEQP/expectations/broadwell/
DdEQP-GLES3.functional.hasty.Fail.bz2 ... -GLES3.functional.fbo.msaa.4_samples.rgba8 2dEQP-GLES3.functional.fragment_ops ...
DdEQP-GLES3.functional.hasty.Flaky.bz21dEQP-GLES3.functional.buffer.copy.basic.array_copy_read 2dEQP-GLES3. ...
/external/opencv3/samples/python2/
Ddigits_adjust.py72 self._samples, self._labels = self.preprocess()
88 return self._samples, self._labels
/external/opencv3/samples/directx/
DCMakeLists.txt9 project("${project}_samples")
/external/opencv3/modules/photo/src/
Dcalibrate.cpp55 CalibrateDebevecImpl(int _samples, float _lambda, bool _random) : in CalibrateDebevecImpl() argument
57 samples(_samples), in CalibrateDebevecImpl()
/external/opencv3/samples/tapi/
DCMakeLists.txt9 project("${project}_samples")
/external/libopus/src/
Dopus_compare.c54 static size_t read_pcm16(float **_samples,FILE *_fin,int _nchannels){ in read_pcm16() argument
83 *_samples=(float *)opus_realloc(samples, in read_pcm16()
/external/opencv3/samples/gpu/
DCMakeLists.txt14 project("${project}_samples")
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolCreateInfoUtil.cpp215 vk::VkSampleCountFlagBits _samples, in ImageCreateInfo() argument
237 samples = _samples; in ImageCreateInfo()
412 vk::VkSampleCountFlagBits _samples, in AttachmentDescription() argument
422 samples = _samples; in AttachmentDescription()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp215 vk::VkSampleCountFlagBits _samples, in ImageCreateInfo() argument
237 samples = _samples; in ImageCreateInfo()
409 vk::VkSampleCountFlagBits _samples, in AttachmentDescription() argument
419 samples = _samples; in AttachmentDescription()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateCreateInfoUtil.cpp215 vk::VkSampleCountFlagBits _samples, in ImageCreateInfo() argument
237 samples = _samples; in ImageCreateInfo()
409 vk::VkSampleCountFlagBits _samples, in AttachmentDescription() argument
419 samples = _samples; in AttachmentDescription()
/external/opencv/ml/include/
Dml.h250 virtual float predict( const CvMat* _samples, CvMat* results=0 ) const;
289 virtual float find_nearest( const CvMat* _samples, int k, CvMat* results=0,
304 virtual void find_neighbors_direct( const CvMat* _samples, int k, int start, int end,
/external/opencv3/apps/traincascade/
Dold_ml.hpp275 virtual void find_neighbors_direct( const CvMat* _samples, int k, int start, int end,

12