Home
last modified time | relevance | path

Searched refs:nsample (Results 1 – 25 of 203) sorted by relevance

123456789

/dports/devel/R-cran-randomForest/randomForest/src/
H A Dregrf.c63 nsample = xdim[0]; in regRF()
90 (int *) S_alloc(nsample * nsample, sizeof(int)) : NULL; in regRF()
101 zeroInt(nout, nsample); in regRF()
106 varY /= nsample; in regRF()
119 zeroDouble(prox, nsample * nsample); in regRF()
146 zeroInt(in, nsample); in regRF()
152 k = xrand * nsample; in regRF()
161 last = nsample - 1; in regRF()
175 for (n = 0; n < nsample; ++n) inbag[n + j * nsample] = in[n]; in regRF()
314 (oobpair[nsample*k + n] > 0 ? oobpair[nsample*k + n] : 1) : in regRF()
[all …]
H A Drfutils.c68 index = (int *) Calloc(nsample, int); in makeA()
72 for (j = 0; j < nsample; ++j) { in makeA()
76 R_qsort_I(v, index, 1, nsample); in makeA()
81 for (j = 0; j < nsample-1; ++j) { in makeA()
89 a[i + (nsample-1) * mdim] = index[nsample-1]; in makeA()
91 for (j = 0; j < nsample; ++j) in makeA()
111 for (j = 0; j < nsample; ++j) { in modA()
132 for (i = 0; i < nsample; ++i) { in modA()
188 tp = (double *) Calloc(nsample, double); in permuteOOB()
190 for (i = 0; i < nsample; ++i) { in permuteOOB()
[all …]
H A Drf.c124 nimp = imp ? nsample : 1; in classRF()
198 zeroInt(counttr, nclass * nsample); in classRF()
199 zeroInt(out, nsample); in classRF()
254 zeroInt(jin, nsample); in classRF()
256 zeroDouble(win, nsample); in classRF()
292 zeroInt(jin, nsample); in classRF()
294 zeroDouble(win, nsample); in classRF()
304 last = nsample - 1; in classRF()
373 for (n = 0; n < nsample; ++n) { in classRF()
627 zeroInt(jerr, nsample); in oob()
[all …]
H A Drf.h35 void normClassWt(int *cl, const int nsample, const int nclass,
45 void regTree(double *x, double *y, int mdim, int nsample,
50 void findBestSplit(double *x, int *jdex, double *y, int mdim, int nsample,
55 void predictRegTree(double *x, int nsample, int mdim,
73 void prepare(int *cl, const int nsample, const int nclass, const int ipi,
75 void makeA(double *x, const int mdim, const int nsample, int *cat, int *a,
77 void modA(int *a, int *nuse, const int nsample, const int mdim, int *cat,
79 void Xtranslate(double *x, int mdim, int nrnodes, int nsample,
82 void permuteOOB(int m, double *x, int *in, int nsample, int mdim);
88 int *maxcat, int *mdim, int *nsample,
H A Drfsub.f20 subroutine buildtree(a, b, cl, cat, maxcat, mdim, nsample, argument
42 integer a(mdim, nsample), cl(nsample), cat(mdim),
44 1 nodestatus(nrnodes), ta(nsample),
46 1 idmove(nsample),
47 1 ncase(nsample), b(mdim,nsample),
51 1 tclasscat(nclass, 53), win(nsample), wr(nclass),
203 integer a(mdim,nsample), cl(nsample), cat(mdim),
204 1 ncase(nsample), b(mdim,nsample), nn, j
206 1 win(nsample), wr(nclass), wl(nclass), xrand
326 integer a(mdim,nsample),ta(nsample),idmove(nsample),
[all …]
H A DregTree.c46 jdex = (int *) Calloc(nsample, int); in regTree()
51 nodepop[0] = nsample; in regTree()
57 for (i = 0; i < nsample; ++i) { in regTree()
176 ut = (double *) Calloc(nsample, double); in findBestSplit()
177 xt = (double *) Calloc(nsample, double); in findBestSplit()
178 v = (double *) Calloc(nsample, double); in findBestSplit()
179 yl = (double *) Calloc(nsample, double); in findBestSplit()
181 ncase = (int *) Calloc(nsample, int); in findBestSplit()
222 for (j = 0; j < nsample; ++j) { in findBestSplit()
307 if (nr >= nsample) break; in findBestSplit()
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/tests/results/
H A Dmake_arma.py9 y_arma11 = arma_generate_sample([1., -.75], [1., .35], nsample=250)
11 nsample=250)
13 nsample=250)
14 y_arma22 = arma_generate_sample([1., -.75, .45], [1., .35, -.9], nsample=250)
17 nsample=250)
19 y_arma02 = arma_generate_sample([1.], [1., .35, -.75], nsample=250)
24 y_arma11c = arma_generate_sample([1., -.75], [1., .35], nsample=250) + constant
26 nsample=250) + constant
28 nsample=250) + constant
30 nsample=250) + constant
[all …]
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Datrac3.c560 for (; nsample < startLoc; nsample++) in gainCompensateAndOverlap()
561 pOut[nsample] = (pIn[nsample] * gain1 + pPrev[nsample]) * gain2; in gainCompensateAndOverlap()
564 for (; nsample < endLoc; nsample++) { in gainCompensateAndOverlap()
565 pOut[nsample] = (pIn[nsample] * gain1 + pPrev[nsample]) * gain2; in gainCompensateAndOverlap()
570 for (; nsample < 256; nsample++) in gainCompensateAndOverlap()
571 pOut[nsample] = (pIn[nsample] * gain1) + pPrev[nsample]; in gainCompensateAndOverlap()
622 for(; nsample < 8; nsample++) { in reverseMatrixing()
634 for (; nsample < 256; nsample++) { in reverseMatrixing()
643 for (; nsample < 256; nsample++) { in reverseMatrixing()
690 for(nsample = 0; nsample < 8; nsample++) { in channelWeighting()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Datrac3.c470 int i, nsample, band; in reverse_matrixing() local
476 nsample = band; in reverse_matrixing()
486 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
499 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
507 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
516 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
544 int band, nsample; in channel_weighting() local
553 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
554 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
555 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Datrac3.c470 int i, nsample, band; in reverse_matrixing() local
476 nsample = band; in reverse_matrixing()
486 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
499 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
507 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
516 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
544 int band, nsample; in channel_weighting() local
553 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
554 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
555 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Datrac3.c473 int i, nsample, band; in reverse_matrixing() local
479 nsample = band; in reverse_matrixing()
489 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
502 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
510 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
519 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
547 int band, nsample; in channel_weighting() local
556 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
557 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
558 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Datrac3.c473 int i, nsample, band; in reverse_matrixing() local
479 nsample = band; in reverse_matrixing()
489 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
502 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
510 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
519 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
547 int band, nsample; in channel_weighting() local
556 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
557 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
558 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Datrac3.c473 int i, nsample, band; in reverse_matrixing() local
479 nsample = band; in reverse_matrixing()
489 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
502 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
510 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
519 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
547 int band, nsample; in channel_weighting() local
556 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
557 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
558 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Datrac3.c473 int i, nsample, band; in reverse_matrixing() local
479 nsample = band; in reverse_matrixing()
489 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
502 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
510 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
519 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
547 int band, nsample; in channel_weighting() local
556 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
557 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
558 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Datrac3.c473 int i, nsample, band; in reverse_matrixing() local
479 nsample = band; in reverse_matrixing()
489 for (; nsample < band + 8; nsample++) { in reverse_matrixing()
502 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
510 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
519 for (; nsample < band + 256; nsample++) { in reverse_matrixing()
547 int band, nsample; in channel_weighting() local
556 for (nsample = band; nsample < band + 8; nsample++) { in channel_weighting()
557 su1[nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample - band); in channel_weighting()
558 su2[nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample - band); in channel_weighting()
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/sandbox/tests/
H A Dsavervs.py17 xo = arma_generate_sample([1], [1], nsample=100)
24 nsample = 1000 variable
28 xo = arma_generate_sample([1, -0.8, 0.5], [1], nsample=nsample)
31 xo = np.random.normal(size=nsample)
34 xo = arma_generate_sample([1, -0.8, 0.5, -0.3], [1, 0.3, 0.2], nsample=nsample)
/dports/math/py-numpy/numpy-1.20.3/numpy/random/src/distributions/
H A Drandom_mvhg_count.c63 int64_t nsample, in random_multivariate_hypergeometric_count() argument
69 if ((total == 0) || (nsample == 0) || (num_variates == 0)) { in random_multivariate_hypergeometric_count()
90 more_than_half = nsample > (total / 2); in random_multivariate_hypergeometric_count()
92 nsample = total - nsample; in random_multivariate_hypergeometric_count()
102 for (size_t j = 0; j < (size_t) nsample; ++j) { in random_multivariate_hypergeometric_count()
117 for (size_t j = 0; j < (size_t) nsample; ++j) { in random_multivariate_hypergeometric_count()
H A Drandom_mvhg_marginals.c101 int64_t nsample, in random_multivariate_hypergeometric_marginals() argument
106 if ((total == 0) || (nsample == 0) || (num_variates == 0)) { in random_multivariate_hypergeometric_marginals()
111 more_than_half = nsample > (total / 2); in random_multivariate_hypergeometric_marginals()
113 nsample = total - nsample; in random_multivariate_hypergeometric_marginals()
117 int64_t num_to_sample = nsample; in random_multivariate_hypergeometric_marginals()
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/
H A Dols.py24 nsample = 100 variable
28 e = np.random.normal(size=nsample)
52 nsample = 50 variable
54 x = np.linspace(0, 20, nsample)
55 X = np.column_stack((x, np.sin(x), (x - 5)**2, np.ones(nsample)))
59 y = y_true + sig * np.random.normal(size=nsample)
94 nsample = 50 variable
95 groups = np.zeros(nsample, int)
101 x = np.linspace(0, 20, nsample)
108 e = np.random.normal(size=nsample)
[all …]
/dports/math/R-cran-lme4/lme4/tests/testthat/
H A Dtest-eval.R21 p1 <- 10; nsample <- 20; n <- p1 * nsample globalVar
24 u1 = rep(1:p1, each = nsample),
25 u2 = rep(1:p1, times = nsample))
31 rep(rnorm(n = p1, sd = sd1), each = nsample) + # random intercept u1
32 rep(rnorm(n = p1, sd = sd1), times = nsample) + # random intercept u2
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/hmm2/src/u_calibrate/
H A Duhmmcalibrate.cpp14 static void main_loop_serial(struct plan7_s *hmm, int seed, int nsample,
19 nsample = 5000; in UHMMCalibrateSettings()
32 …main_loop_serial(hmm, s.seed, s.nsample, s.lenmean, s.lensd, s.fixedlen, &hist, &max, si.cancelFl… in calibrate()
70 static void main_loop_serial(struct plan7_s *hmm, int seed, int nsample, in main_loop_serial() argument
106 for (idx = 0; idx < nsample && !cancelFlag; idx++) { in main_loop_serial()
126 progress = int(100*idx/float(nsample)); in main_loop_serial()
157 if (wpool->nseq > wpool->nsample) { /* we're done; release input lock, break loop */ in calibrateParallel()
187 … si.progress = int(100*wpool->nseq/float(wpool->nsample)); //TODO: update progress for all tasks? in calibrateParallel()
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/sandbox/mcevaluate/
H A Darma.py9 def mcarma22(niter=10, nsample=1000, ar=None, ma=None, sig=0.5): argument
29 y2 = arma_generate_sample(ar,ma,nsample+1000, sig)[-nsample:]
35 sige2a = np.sqrt(np.dot(err2a,err2a)/nsample)
123 nsample = 200 variable
136 print('nsample =', nsample, 'sigma = ', sig)
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/examples/
H A Dtut_ols_ancova.py50 nsample = 50 variable
51 x1 = np.linspace(0, 20, nsample)
54 xg = np.zeros(nsample, int)
60 X = np.c_[x1, dummy[:,1:], np.ones(nsample)]
63 y = y_true + sig * np.random.normal(size=nsample)
H A Dex_feasible_gls_het.py34 nsample = 1000 variable
36 x1 = np.linspace(0, 20, nsample)
37 X = np.c_[x1, (x1-5)**2, np.ones(nsample)]
41 w = np.ones(nsample)
42 w[nsample*6//10:] = 4 #Note this is the squared value
45 y2 = y_true2 + sig*np.sqrt(w)* np.random.normal(size=nsample)
H A Dex_feasible_gls_het_0.py29 nsample = 300 #different pattern last graph with 100 or 200 or 500 variable
33 X = np.random.randn(nsample, 3)
34 X = np.column_stack((np.ones((nsample,1)), X))
39 x1 = np.linspace(0, 1, nsample)
53 z0 = np.zeros(nsample)
54 z0[(nsample * 5)//10:] = 1 #dummy for 2 halfs of sample
59 noise = np.sqrt(sig2_het) * np.random.normal(size=nsample)

123456789