Home
last modified time | relevance | path

Searched refs:true_result (Results 1 – 25 of 39) sorted by relevance

12

/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/neighbors/tests/
H A Dtest_nearest_centroid.py18 true_result = [-1, 1, 1] variable
33 assert_array_equal(clf.predict(T), true_result)
38 assert_array_equal(clf.predict(T_csr), true_result)
43 assert_array_equal(clf.predict(T), true_result)
48 assert_array_equal(clf.predict(T_csr), true_result)
53 assert_array_equal(clf.predict(T_csr.tolil()), true_result)
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/minimax/
H A Dmain.cpp273 mp_type true_result = the_function(zeros[i]); in do_test() local
280 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
285 err = fabs(test_result - true_result); in do_test()
286 cheb_err = fabs(cheb_result - true_result); in do_test()
300 mp_type true_result = the_function(cheb[i]); in do_test() local
307 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
312 err = fabs(test_result - true_result); in do_test()
313 cheb_err = fabs(cheb_result - true_result); in do_test()
407 mp_type true_result = the_function(x); in do_test_n() local
422 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/math/minimax/
H A Dmain.cpp273 mp_type true_result = the_function(zeros[i]); in do_test() local
280 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
285 err = fabs(test_result - true_result); in do_test()
286 cheb_err = fabs(cheb_result - true_result); in do_test()
300 mp_type true_result = the_function(cheb[i]); in do_test() local
307 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
312 err = fabs(test_result - true_result); in do_test()
313 cheb_err = fabs(cheb_result - true_result); in do_test()
407 mp_type true_result = the_function(x); in do_test_n() local
422 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/libs/math/minimax/
H A Dmain.cpp273 mp_type true_result = the_function(zeros[i]); in do_test() local
280 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
285 err = fabs(test_result - true_result); in do_test()
286 cheb_err = fabs(cheb_result - true_result); in do_test()
300 mp_type true_result = the_function(cheb[i]); in do_test() local
307 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
312 err = fabs(test_result - true_result); in do_test()
313 cheb_err = fabs(cheb_result - true_result); in do_test()
407 mp_type true_result = the_function(x); in do_test_n() local
422 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/math/minimax/
H A Dmain.cpp273 mp_type true_result = the_function(zeros[i]); in do_test() local
280 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
285 err = fabs(test_result - true_result); in do_test()
286 cheb_err = fabs(cheb_result - true_result); in do_test()
300 mp_type true_result = the_function(cheb[i]); in do_test() local
307 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
312 err = fabs(test_result - true_result); in do_test()
313 cheb_err = fabs(cheb_result - true_result); in do_test()
407 mp_type true_result = the_function(x); in do_test_n() local
422 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/math/minimax/
H A Dmain.cpp273 mp_type true_result = the_function(zeros[i]); in do_test() local
280 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
285 err = fabs(test_result - true_result); in do_test()
286 cheb_err = fabs(cheb_result - true_result); in do_test()
300 mp_type true_result = the_function(cheb[i]); in do_test() local
307 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
312 err = fabs(test_result - true_result); in do_test()
313 cheb_err = fabs(cheb_result - true_result); in do_test()
407 mp_type true_result = the_function(x); in do_test_n() local
422 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/minimax/
H A Dmain.cpp298 boost::math::ntl::RR true_result = the_function(zeros[i]); in do_test() local
305 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
310 err = fabs(test_result - true_result); in do_test()
311 cheb_err = fabs(cheb_result - true_result); in do_test()
325 boost::math::ntl::RR true_result = the_function(cheb[i]); in do_test() local
332 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
337 err = fabs(test_result - true_result); in do_test()
338 cheb_err = fabs(cheb_result - true_result); in do_test()
432 boost::math::ntl::RR true_result = the_function(x); in do_test_n() local
447 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/databases/percona57-server/boost_1_59_0/libs/math/minimax/
H A Dmain.cpp298 boost::math::ntl::RR true_result = the_function(zeros[i]); in do_test() local
305 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
310 err = fabs(test_result - true_result); in do_test()
311 cheb_err = fabs(cheb_result - true_result); in do_test()
325 boost::math::ntl::RR true_result = the_function(cheb[i]); in do_test() local
332 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
337 err = fabs(test_result - true_result); in do_test()
338 cheb_err = fabs(cheb_result - true_result); in do_test()
432 boost::math::ntl::RR true_result = the_function(x); in do_test_n() local
447 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/databases/xtrabackup/boost_1_59_0/libs/math/minimax/
H A Dmain.cpp298 boost::math::ntl::RR true_result = the_function(zeros[i]); in do_test() local
305 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
310 err = fabs(test_result - true_result); in do_test()
311 cheb_err = fabs(cheb_result - true_result); in do_test()
325 boost::math::ntl::RR true_result = the_function(cheb[i]); in do_test() local
332 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
337 err = fabs(test_result - true_result); in do_test()
338 cheb_err = fabs(cheb_result - true_result); in do_test()
432 boost::math::ntl::RR true_result = the_function(x); in do_test_n() local
447 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/databases/percona57-client/boost_1_59_0/libs/math/minimax/
H A Dmain.cpp298 boost::math::ntl::RR true_result = the_function(zeros[i]); in do_test() local
305 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
310 err = fabs(test_result - true_result); in do_test()
311 cheb_err = fabs(cheb_result - true_result); in do_test()
325 boost::math::ntl::RR true_result = the_function(cheb[i]); in do_test() local
332 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
337 err = fabs(test_result - true_result); in do_test()
338 cheb_err = fabs(cheb_result - true_result); in do_test()
432 boost::math::ntl::RR true_result = the_function(x); in do_test_n() local
447 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/math/minimax/
H A Dmain.cpp298 boost::math::ntl::RR true_result = the_function(zeros[i]); in do_test() local
305 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
310 err = fabs(test_result - true_result); in do_test()
311 cheb_err = fabs(cheb_result - true_result); in do_test()
325 boost::math::ntl::RR true_result = the_function(cheb[i]); in do_test() local
332 err = boost::math::tools::relative_error(test_result, true_result); in do_test()
337 err = fabs(test_result - true_result); in do_test()
338 cheb_err = fabs(cheb_result - true_result); in do_test()
432 boost::math::ntl::RR true_result = the_function(x); in do_test_n() local
447 err = fabs(test_result - true_result); in do_test_n()
[all …]
/dports/devel/thrust/thrust-1.9.5/testing/backend/cuda/
H A Dpartition.cu130 …ernel(ExecutionPolicy exec, Iterator1 first, Iterator1 last, Iterator2 true_result, Iterator3 fals… in partition_copy_kernel() argument
132 *result = thrust::partition_copy(exec, first, last, true_result, false_result, pred); in partition_copy_kernel()
193 …c, Iterator1 first, Iterator1 last, Iterator2 stencil_first, Iterator3 true_result, Iterator4 fals… in partition_copy_kernel() argument
195 …*result = thrust::partition_copy(exec, first, last, stencil_first, true_result, false_result, pred… in partition_copy_kernel()
394 …ernel(ExecutionPolicy exec, Iterator1 first, Iterator1 last, Iterator2 true_result, Iterator3 fals… in stable_partition_copy_kernel() argument
396 *result = thrust::stable_partition_copy(exec, first, last, true_result, false_result, pred); in stable_partition_copy_kernel()
457 …c, Iterator1 first, Iterator1 last, Iterator2 stencil_first, Iterator3 true_result, Iterator4 fals… in stable_partition_copy_kernel() argument
459 …*result = thrust::stable_partition_copy(exec, first, last, stencil_first, true_result, false_resul… in stable_partition_copy_kernel()
/dports/lang/v8/v8-9.6.180.12/test/unittests/torque/
H A Dls-json-unittest.cc18 const JsonValue true_result = ParseJson("true").value; in TEST() local
19 ASSERT_EQ(true_result.tag, JsonValue::BOOL); in TEST()
20 EXPECT_EQ(true_result.ToBool(), true); in TEST()
/dports/math/py-keras/Keras-2.4.3/tests/keras/
H A Dactivations_test.py206 true_result = (np.exp(negative_values) - 1) / 2
208 assert_allclose(result, true_result)
224 true_result = (np.exp(negative_values) - 1) * scale * alpha
226 assert_allclose(result, true_result)
/dports/security/seal/SEAL-3.7.2/native/examples/
H A D4_ckks_basics.cpp295 vector<double> true_result; in example_ckks_basics() local
299 true_result.push_back((3.14159265 * x * x + 0.4) * x + 1); in example_ckks_basics()
301 print_vector(true_result, 3, 7); in example_ckks_basics()
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/ensemble/tests/
H A Dtest_gradient_boosting.py45 true_result = [-1, 1, 1] variable
71 assert_array_equal(clf.predict(T), true_result)
313 assert_array_equal(clf.predict(T), true_result)
322 assert_array_equal(y_pred, true_result)
509 assert_array_equal(clf.predict(T), true_result)
520 assert_array_equal(clf.predict(T), true_result)
595 assert_array_equal(clf.predict(T), true_result)
604 assert_array_equal(clf.predict(T), true_result)
610 assert_array_equal(clf.predict(T), true_result)
617 assert_array_equal(clf.predict(T), true_result)
[all …]
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/svm/tests/
H A Dtest_svm.py37 true_result = [1, 2, 2] variable
109 assert_array_equal(pred, true_result)
119 assert_array_equal(pred, true_result)
134 assert_array_equal(pred, true_result)
665 assert_array_equal(clf.predict(T), true_result)
789 assert_array_equal(clf.predict(T), true_result)
796 assert_array_equal(clf.predict(T), true_result)
800 assert_array_equal(clf.predict(T), true_result)
805 assert_array_equal(clf.predict(T), true_result)
810 assert_array_equal(res, true_result)
/dports/japanese/ibus-mozc/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/japanese/uim-mozc/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/japanese/mozc-server/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/japanese/mozc-tool/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/japanese/mozc-el/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/japanese/fcitx-mozc/mozc-2.23.2815.102.01/src/data_manager/
H A Ddata_manager_test_base.cc238 const bool true_result = in SuggestionFilterTest_IsBadSuggestion() local
244 if (true_result) { in SuggestionFilterTest_IsBadSuggestion()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/src/
H A Dgamma_lut.rs373 … let true_result = ((overf(lin_dst, lin_src, alpha as f32) / 255.).powf(1. / g) * 255.) as u32; in gamma() localVariable
374 let diff = absdiff(preblend_result, true_result); in gamma()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender/src/
H A Dgamma_lut.rs373 … let true_result = ((overf(lin_dst, lin_src, alpha as f32) / 255.).powf(1. / g) * 255.) as u32; in gamma() localVariable
374 let diff = absdiff(preblend_result, true_result); in gamma()

12