Ask Your Question

tsenst's profile - activity

2019-07-28 20:43:25 -0600 asked a question Reason for limitation in EdgeAwareInterpolator to max_short matches

Reason for limitation in EdgeAwareInterpolator to max_short matches The number of matches that can be used by the EdgeAw

2014-09-29 09:02:39 -0600 commented question svm train_auto small sample size problem

I have the same problem for an n-classes problem. I took a look into the OpenCV 2.4.9 code (svm.cpp) and recognized that there is no functionality to take care of the class distribution for each fold. I am not sure but line 1963 - 1965 seams for me to be buggy because on the first fold if k == 0 nothing will be copied from sample to samples_local buffer.

1963: for(int k = 0; k < k_fold; k++ ) 1964: { 1965: memcpy( samples_local, samples, sizeof(samples[0])test_sizek );