/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_KernelSmoothing_std.expout | 6 pdf(smoothed)= 0.0258 pdf(exact)=0.02805 7 cdf(smoothed)= 0.2719 cdf(exact)=0.3055 13 pdf(smoothed)= 0.02593 pdf(exact)=0.02805 14 cdf(smoothed)= 0.272 cdf(exact)=0.3055 21 cdf(smoothed)= 0.2724 cdf(exact)=0.3055 28 cdf(smoothed)= 0.2721 cdf(exact)=0.3055 35 cdf(smoothed)= 0.2719 cdf(exact)=0.3055 42 cdf(smoothed)= 0.272 cdf(exact)=0.3055 78 pdf(smoothed)= 0.65 pdf(exact)=0.5977 83 pdf(smoothed)= 0.28 pdf(exact)=0.2661 [all …]
|
H A D | t_KernelSmoothing_std.cxx | 64 Distribution smoothed(smoother.build(sample)); in main() local 67 …ean(smoothed)=[" << std::setprecision(4) << smoothed.getMean()[0] << ", " << std::setprecision(4) … in main() 68 …fullprint << "covariance(smoothed)=" << smoothed.getCovariance() << " covariance(exact)=" << distr… in main() 70 Point point( smoothed.getDimension(), 0.0 ); in main() 73 Scalar pointPDF = smoothed.computePDF( point ); in main() 74 Scalar pointCDF = smoothed.computeCDF( point ); in main() 100 Distribution smoothed(smoother.build(sampleCollection[j])); in main() local 103 Point point( smoothed.getDimension(), -0.9 ); in main() 106 Scalar pointPDF = smoothed.computePDF( point ); in main() 107 Scalar pointCDF = smoothed.computeCDF( point ); in main()
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_KernelSmoothing_std.expout | 6 pdf(smoothed)=0.0247623 8 cdf(smoothed)=0.279515 15 pdf(smoothed)=0.0245905 17 cdf(smoothed)=0.278675 24 pdf(smoothed)=0.0235911 26 cdf(smoothed)=0.278627 33 pdf(smoothed)=0.0246934 35 cdf(smoothed)=0.278851 44 cdf(smoothed)=0.280123 53 cdf(smoothed)=0.278675 [all …]
|
H A D | t_KernelSmoothing_std.py | 36 smoothed = smoother.build(sample) variable 39 meanSmoothed = smoothed.getMean() 42 covarianceSmoothed = smoothed.getCovariance() 46 point = ot.Point(smoothed.getDimension(), 0.0) 49 pointPDF = smoothed.computePDF(point) 50 pointCDF = smoothed.computeCDF(point) 77 pointPDF = smoothed.computePDF(point) 163 smoothed = ot.KernelSmoothing().build(sample) variable 164 print(smoothed.getSample(3)) 170 smoothed = ot.KernelSmoothing().build(sample) variable [all …]
|
/dports/graphics/R-cran-pROC/pROC/tests/testthat/ |
H A D | test-smooth.R | 34 expect_is(smoothed, "smooth.roc") 37 expect_equal(as.numeric(smoothed$auc), 0.9375) 42 expect_is(smoothed, "smooth.roc") 47 expect_equal(as.numeric(smoothed$auc), 0.9694449) 52 smoothed <- smooth(r.ndka, method="fitdistr", n = 10) globalVar 53 expect_is(smoothed, "smooth.roc") 60 expect_equal(as.numeric(smoothed$auc), 0.814600645965216) 65 expect_is(smoothed, "smooth.roc") 72 expect_equal(as.numeric(smoothed$auc), 0.568359871182632) 76 smoothed <- smooth(r.ndka, method="fitdistr", n = 10, globalVar [all …]
|
/dports/math/R-cran-sspir/sspir/R/ |
H A D | emalgo1.R | 26 smoothed <- Fkfs(ss, ...) functionVar 28 …smoothed$ss$Gmat(1, smoothed$ss$x, smoothed$ss$phi) %*% C0 %*% t(smoothed$ss$Gmat(1, smoothed$ss$x… 29 B <- C0 %*% t(smoothed$ss$Gmat(1, smoothed$ss$x, smoothed$ss$phi)) %*% solve(R) 31 smoothed$ss$C0 <- C0 + B %*% (smoothed$ss$C[[1]] - R) %*% t(B) 32 …smoothed$ss$m0 <- t(t(m0) + B %*% (smoothed$ss$m[1,] - smoothed$ss$Gmat(1, smoothed$ss$x, smoothed… 37 conv <- (smoothed$ss$loglik - loglike[ite-1]) 40 if(smoothed$ss$family$family=="gaussian"){V <- step$V} 50 if(smoothed$ss$family$family=="gaussian"){ 55 loglike[ite] <- smoothed$ss$loglik 62 smoothed$ss$m0 <- m0; smoothed$ss$C0 <- C0 [all …]
|
/dports/graphics/frei0r/frei0r-1.7.0-18-g86475d3/src/filter/normaliz0r/ |
H A D | normaliz0r.c | 250 float smoothed; // Smoothed input value [0,255]. in f0r_update() member 308 float rgb_min_smoothed = min[0].smoothed; in f0r_update() 309 float rgb_max_smoothed = max[0].smoothed; in f0r_update() 310 rgb_min_smoothed = MIN(rgb_min_smoothed, min[1].smoothed); in f0r_update() 311 rgb_max_smoothed = MAX(rgb_max_smoothed, max[1].smoothed); in f0r_update() 312 rgb_min_smoothed = MIN(rgb_min_smoothed, min[2].smoothed); in f0r_update() 313 rgb_max_smoothed = MAX(rgb_max_smoothed, max[2].smoothed); in f0r_update() 323 min[c].smoothed = (min[c].smoothed * inst->independence) in f0r_update() 325 max[c].smoothed = (max[c].smoothed * inst->independence) in f0r_update() 341 if (min[c].smoothed == max[c].smoothed) in f0r_update() [all …]
|
/dports/graphics/frei0r-plugins-opencv/frei0r-1.7.0-18-g86475d3/src/filter/normaliz0r/ |
H A D | normaliz0r.c | 250 float smoothed; // Smoothed input value [0,255]. in f0r_update() member 308 float rgb_min_smoothed = min[0].smoothed; in f0r_update() 309 float rgb_max_smoothed = max[0].smoothed; in f0r_update() 310 rgb_min_smoothed = MIN(rgb_min_smoothed, min[1].smoothed); in f0r_update() 311 rgb_max_smoothed = MAX(rgb_max_smoothed, max[1].smoothed); in f0r_update() 312 rgb_min_smoothed = MIN(rgb_min_smoothed, min[2].smoothed); in f0r_update() 313 rgb_max_smoothed = MAX(rgb_max_smoothed, max[2].smoothed); in f0r_update() 323 min[c].smoothed = (min[c].smoothed * inst->independence) in f0r_update() 325 max[c].smoothed = (max[c].smoothed * inst->independence) in f0r_update() 341 if (min[c].smoothed == max[c].smoothed) in f0r_update() [all …]
|
/dports/graphics/frei0r-plugins-gavl/frei0r-1.7.0-18-g86475d3/src/filter/normaliz0r/ |
H A D | normaliz0r.c | 250 float smoothed; // Smoothed input value [0,255]. in f0r_update() member 308 float rgb_min_smoothed = min[0].smoothed; in f0r_update() 309 float rgb_max_smoothed = max[0].smoothed; in f0r_update() 310 rgb_min_smoothed = MIN(rgb_min_smoothed, min[1].smoothed); in f0r_update() 311 rgb_max_smoothed = MAX(rgb_max_smoothed, max[1].smoothed); in f0r_update() 312 rgb_min_smoothed = MIN(rgb_min_smoothed, min[2].smoothed); in f0r_update() 313 rgb_max_smoothed = MAX(rgb_max_smoothed, max[2].smoothed); in f0r_update() 323 min[c].smoothed = (min[c].smoothed * inst->independence) in f0r_update() 325 max[c].smoothed = (max[c].smoothed * inst->independence) in f0r_update() 341 if (min[c].smoothed == max[c].smoothed) in f0r_update() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_normalize.c | 129 float smoothed; // Smoothed input value [0,255]. in normalize() member 174 min[c].smoothed = s->min[c].history_sum / (float)num_history_vals; in normalize() 176 max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; in normalize() 183 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize() 184 rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); in normalize() 193 min[c].smoothed = (min[c].smoothed * s->independence) in normalize() 195 max[c].smoothed = (max[c].smoothed * s->independence) in normalize() 211 if (min[c].smoothed == max[c].smoothed) { in normalize() 220 float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); in normalize() 222 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f; in normalize()
|
/dports/games/spring/spring_98.0/rts/Sim/Misc/ |
H A D | SmoothHeightMesh.cpp | 260 std::vector<float>& smoothed) in BlurHorizontal() argument 278 smoothed[idx] = 0.0f; in BlurHorizontal() 284 smoothed[idx] += mesh[x1 + y * lineSize]; in BlurHorizontal() 288 const float sh = smoothed[idx] / (xend - xstart + 1); in BlurHorizontal() 313 std::vector<float>& smoothed) in BlurVertical() argument 331 smoothed[idx] = 0.0f; in BlurVertical() 337 smoothed[idx] += mesh[x + y1 * lineSize]; in BlurVertical() 341 const float sh = smoothed[idx] / (yend - ystart + 1); in BlurVertical() 417 std::vector<float> smoothed(size); in MakeSmoothMesh() local 433 BlurHorizontal(maxx, maxy, smoothrad, resolution, mesh, smoothed); mesh.swap(smoothed); in MakeSmoothMesh() [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/ |
H A D | lowess.py | 37 smoothed = sm.nonparametric.lowess(exog=x, endog=y, frac=0.2) variable 43 ax.plot(smoothed[:, 0], smoothed[:, 1], c="k") 67 smoothed = sm.nonparametric.lowess(exog=x, 91 return smoothed, bottom, top 96 smoothed, bottom, top = lowess_with_confidence_bounds(x, variable 104 ax.plot(eval_x, smoothed, c="k")
|
H A D | statespace_fixed_params.py | 96 ucm_trend = pd.Series(res.level.smoothed, index=endog.index) 173 unrestricted_trend = pd.Series(res_unrestricted.level.smoothed, 175 restricted_trend = pd.Series(res_restricted.level.smoothed, index=endog.index) 178 unrestricted_seasonal = pd.Series(res_unrestricted.seasonal.smoothed, 180 restricted_seasonal = pd.Series(res_restricted.seasonal.smoothed,
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/ |
H A D | sdet_graph_img_seg.h | 75 vil_image_view<T> smoothed; in sdet_segment_img() local 78 smoothed = vil_copy_deep(img); in sdet_segment_img() 90 double c0 = (double)smoothed(pix0.first, pix0.second); in sdet_segment_img() 92 double c1 = (double)smoothed(pix1.first, pix1.second); in sdet_segment_img() 146 vil_image_view<T> smoothed; in sdet_segment_img_using_edges() local 149 smoothed = vil_copy_deep(img); in sdet_segment_img_using_edges() 160 double c0 = (double)smoothed(pix0.first, pix0.second); in sdet_segment_img_using_edges() 162 double c1 = (double)smoothed(pix1.first, pix1.second); in sdet_segment_img_using_edges() 253 vil_image_view<T> smoothed; variable 256 smoothed = vil_copy_deep(img); [all …]
|
/dports/graphics/colmap/colmap-3.6/src/base/ |
H A D | warp_test.cc | 243 std::vector<float> smoothed(16); in BOOST_AUTO_TEST_CASE() local 244 SmoothImage(image.data(), 4, 4, 1, 1, smoothed.data()); in BOOST_AUTO_TEST_CASE() 246 BOOST_CHECK_CLOSE(smoothed[0], 1.81673253, 1e-3); in BOOST_AUTO_TEST_CASE() 247 BOOST_CHECK_CLOSE(smoothed[1], 2.51182437, 1e-3); in BOOST_AUTO_TEST_CASE() 248 BOOST_CHECK_CLOSE(smoothed[2], 3.39494729, 1e-3); in BOOST_AUTO_TEST_CASE() 249 BOOST_CHECK_CLOSE(smoothed[3], 4.09003973, 1e-3); in BOOST_AUTO_TEST_CASE() 250 BOOST_CHECK_CLOSE(smoothed[4], 4.59710073, 1e-3); in BOOST_AUTO_TEST_CASE() 251 BOOST_CHECK_CLOSE(smoothed[5], 5.29219341, 1e-3); in BOOST_AUTO_TEST_CASE() 252 BOOST_CHECK_CLOSE(smoothed[6], 6.17531633, 1e-3); in BOOST_AUTO_TEST_CASE() 253 BOOST_CHECK_CLOSE(smoothed[7], 6.87040806, 1e-3); in BOOST_AUTO_TEST_CASE()
|
/dports/www/h2o-devel/h2o-dcc7134/deps/quicly/include/quicly/ |
H A D | loss.h | 85 uint32_t smoothed; member 190 rtt->smoothed = initial_rtt; in quicly_rtt_init() 211 rtt->smoothed = rtt->latest; in quicly_rtt_update() 214 …uint32_t absdiff = rtt->smoothed >= rtt->latest ? rtt->smoothed - rtt->latest : rtt->latest - rtt-… in quicly_rtt_update() 216 rtt->smoothed = (rtt->smoothed * 7 + rtt->latest) / 8; in quicly_rtt_update() 218 assert(rtt->smoothed != 0); in quicly_rtt_update() 223 return rtt->smoothed + (rtt->variance != 0 ? rtt->variance * 4 : min_pto) + max_ack_delay; in quicly_rtt_get_pto()
|
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | robust_statistics_test.cc | 55 float smoothed[kBins]; in TEST() local 56 smoothed[0] = bins[0]; in TEST() 57 smoothed[kBins - 1] = bins[kBins - 1]; in TEST() 59 smoothed[i] = (2 * bins[i] + bins[i - 1] + bins[i + 1]) * 0.25f; in TEST() 62 std::max_element(smoothed, smoothed + kBins) - smoothed; in TEST()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | robust_statistics_test.cc | 55 float smoothed[kBins]; in TEST() local 56 smoothed[0] = bins[0]; in TEST() 57 smoothed[kBins - 1] = bins[kBins - 1]; in TEST() 59 smoothed[i] = (2 * bins[i] + bins[i - 1] + bins[i + 1]) * 0.25f; in TEST() 62 std::max_element(smoothed, smoothed + kBins) - smoothed; in TEST()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | robust_statistics_test.cc | 55 float smoothed[kBins]; in TEST() local 56 smoothed[0] = bins[0]; in TEST() 57 smoothed[kBins - 1] = bins[kBins - 1]; in TEST() 59 smoothed[i] = (2 * bins[i] + bins[i - 1] + bins[i + 1]) * 0.25f; in TEST() 62 std::max_element(smoothed, smoothed + kBins) - smoothed; in TEST()
|
/dports/graphics/libvisual04-plugins/libvisual-plugins-0.4.0/plugins/actor/G-Force/Common/GeneralTools/ |
H A D | XFloatList.cpp | 31 float* srce = (float*) mList.getCStr(), *smoothed = new float[ n ], *temp = 0; in FindMeans() local 49 GaussSmooth( sigma, n, srce, smoothed ); in FindMeans() 53 smoothed[ i ] = fabs( smoothed[ i ] - smoothed[ i + 1 ] ); in FindMeans() 57 cen = smoothed[ 0 ]; in FindMeans() 58 right = smoothed[ 1 ]; in FindMeans() 63 right = smoothed[ i+1 ]; in FindMeans() 74 delete []smoothed; in FindMeans()
|
/dports/graphics/opencv/opencv-4.5.3/samples/cpp/ |
H A D | laplace.cpp | 69 Mat smoothed, laplace, result; in main() local 80 GaussianBlur(frame, smoothed, Size(ksize, ksize), sigma, sigma); in main() 82 blur(frame, smoothed, Size(ksize, ksize)); in main() 84 medianBlur(frame, smoothed, ksize); in main() 86 Laplacian(smoothed, laplace, CV_16S, 5); in main()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vf_normalize.c | 92 float smoothed; // Smoothed input value [0,255]. member 323 min[c].smoothed = s->min[c].history_sum / (float)num_history_vals; in normalize() 325 max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; in normalize() 332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize() 333 rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); in normalize() 342 min[c].smoothed = (min[c].smoothed * s->independence) in normalize() 344 max[c].smoothed = (max[c].smoothed * s->independence) in normalize() 360 if (min[c].smoothed == max[c].smoothed) { in normalize() 369 float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); in normalize() 371 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f; in normalize()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vf_normalize.c | 92 float smoothed; // Smoothed input value [0,255]. member 323 min[c].smoothed = s->min[c].history_sum / (float)num_history_vals; in normalize() 325 max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; in normalize() 332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize() 333 rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); in normalize() 342 min[c].smoothed = (min[c].smoothed * s->independence) in normalize() 344 max[c].smoothed = (max[c].smoothed * s->independence) in normalize() 360 if (min[c].smoothed == max[c].smoothed) { in normalize() 369 float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); in normalize() 371 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f; in normalize()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vf_normalize.c | 92 float smoothed; // Smoothed input value [0,255]. member 323 min[c].smoothed = s->min[c].history_sum / (float)num_history_vals; in normalize() 325 max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; in normalize() 332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize() 333 rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); in normalize() 342 min[c].smoothed = (min[c].smoothed * s->independence) in normalize() 344 max[c].smoothed = (max[c].smoothed * s->independence) in normalize() 360 if (min[c].smoothed == max[c].smoothed) { in normalize() 369 float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); in normalize() 371 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f; in normalize()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_normalize.c | 92 float smoothed; // Smoothed input value [0,255]. member 323 min[c].smoothed = s->min[c].history_sum / (float)num_history_vals; in normalize() 325 max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; in normalize() 332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize() 333 rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); in normalize() 342 min[c].smoothed = (min[c].smoothed * s->independence) in normalize() 344 max[c].smoothed = (max[c].smoothed * s->independence) in normalize() 360 if (min[c].smoothed == max[c].smoothed) { in normalize() 369 float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); in normalize() 371 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f; in normalize()
|