Home
last modified time | relevance | path

Searched refs:expected_score (Results 1 – 25 of 31) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/assist_ranker/
H A Dgeneric_logistic_regression_inference_unittest.cc97 float expected_score = in TEST_F() local
100 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
101 EXPECT_EQ(expected_score >= threshold_, predictor.Predict(example)); in TEST_F()
111 float expected_score = Sigmoid(bias_ + one_hot_default_weight_); in TEST_F() local
112 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
122 float expected_score = Sigmoid(bias_ + one_hot_default_weight_); in TEST_F() local
123 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
139 float expected_score = Sigmoid(bias_ + one_hot_elem2_weight_); in TEST_F() local
140 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
281 float expected_score = Sigmoid( in TEST_F() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/assist_ranker/
H A Dgeneric_logistic_regression_inference_unittest.cc97 float expected_score = in TEST_F() local
100 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
101 EXPECT_EQ(expected_score >= threshold_, predictor.Predict(example)); in TEST_F()
111 float expected_score = Sigmoid(bias_ + one_hot_default_weight_); in TEST_F() local
112 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
122 float expected_score = Sigmoid(bias_ + one_hot_default_weight_); in TEST_F() local
123 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
139 float expected_score = Sigmoid(bias_ + one_hot_elem2_weight_); in TEST_F() local
140 EXPECT_NEAR(expected_score, score, epsilon_); in TEST_F()
281 float expected_score = Sigmoid( in TEST_F() local
[all …]
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/align/util/unit_test/
H A Dscore_builder_unit_test.cpp745 int expected_score = 1301; in BOOST_AUTO_TEST_CASE() local
758 BOOST_CHECK_EQUAL(dense_seg_score, expected_score); in BOOST_AUTO_TEST_CASE()
766 BOOST_CHECK_EQUAL(std_seg_p2p_score, expected_score); in BOOST_AUTO_TEST_CASE()
774 BOOST_CHECK_EQUAL(std_seg_p2n_score, expected_score); in BOOST_AUTO_TEST_CASE()
782 BOOST_CHECK_EQUAL(spliced_seg_score, expected_score); in BOOST_AUTO_TEST_CASE()
787 BOOST_CHECK_EQUAL(prosplign_tblastn_score, expected_score); in BOOST_AUTO_TEST_CASE()
/dports/x11-toolkits/libdazzle/libdazzle-3.42.0/tests/
H A Dtest-levenshtein.c7 gint expected_score; member
28 g_assert_cmpint (score, ==, check[i].expected_score); in test_levenshtein_basic()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/common/string_matching/
H A Dtokenized_string_match_unittest.cc126 double expected_score; in TEST() member
142 EXPECT_NEAR(match.relevance(), kTestCases[i].expected_score, kEpsilon) in TEST()
145 << ", expected_score=" << kTestCases[i].expected_score; in TEST()
/dports/deskutils/gpicker/gpicker-2.3/
H A Dscorer-tests.c29 void _assert_scores(char *file, int line, int expected_score, char *string, char *pattern, unsigned… in _assert_scores() argument
38 if (real_score != expected_score) { in _assert_scores()
40 string, pattern, expected_score, real_score, in _assert_scores()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/string_matching/
H A Dtokenized_string_match_unittest.cc130 double expected_score; in TEST() member
146 EXPECT_NEAR(match.relevance(), kTestCases[i].expected_score, kEpsilon) in TEST()
149 << ", expected_score=" << kTestCases[i].expected_score; in TEST()
/dports/games/libgnome-games-support/libgnome-games-support-1.8.0/tests/
H A Dtest-scores.vala163 var expected_score = new Score (42,
175 stream.write_all (@"$(expected_score.score) $(expected_score.time)\n".data, null);
198 assert (Score.equals (expected_score, imported_score));
210 var expected_score = new Score (42,
247 assert (Score.equals (expected_score, imported_score));
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/Matrix/
H A DScoring.pm102 $self->expected_score($expected);
145 sub expected_score{ subroutine
/dports/textproc/py-nltk/nltk-3.4.1/nltk/test/unit/lm/
H A Dtest_models.py56 for i, (word, context, expected_score) in enumerate(scores):
58 word, context, expected_score
63 def add_score_test(cls, word, context, expected_score): argument
77 score, expected_score, msg=message.format(**locals()), places=4
/dports/textproc/fzy/fzy-1.0/test/acceptance/
H A Dacceptance_test.rb233 expected_score = '( inf)'
236 @tty.assert_matches "> foo\n#{expected_score} foo"
240 @tty.assert_matches "> foo\n#{expected_score} foo"
242 expected_score = '( 0.89)'
245 @tty.assert_matches "> f\n#{expected_score} foo"
/dports/sysutils/yadm/yadm-3.1.1/test/
H A Dtest_unit_record_score.py66 expected_score = '2'
74 expected_score = '4'
/dports/biology/exonerate/exonerate-2.4.0/src/model/
H A Daffine.test.c20 static void test_model(Affine_Model_Type type, C4_Score expected_score){ in test_model() argument
79 g_assert(score == expected_score); in test_model()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/local_search_service/
H A Dtest_utils.cc76 float expected_score, in CheckResult() argument
79 EXPECT_NEAR(result.score, expected_score, 0.001); in CheckResult()
H A Dtest_utils.h36 float expected_score,
H A Dinverted_index_unittest.cc549 float expected_score = 0; in TEST_F() local
552 GetTfidfForDocId(a_utf16, docid, &expected_score, &expected_num_pos)); in TEST_F()
553 CheckResult(matching_docs[i], docid, expected_score, expected_num_pos); in TEST_F()
554 actual_scores.push_back(expected_score); in TEST_F()
H A Dinverted_index_search_unittest.cc244 const float expected_score = in TEST_F() local
249 CheckResult(results[0], "id1", expected_score, in TEST_F()
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/metrics/tests/
H A Dtest_score_objects.py407 expected_score = metric(y_test, clf.predict(X_test))
408 assert_almost_equal(score, expected_score)
445 expected_score = metric(y_test, clf.predict(X_test))
446 assert score == pytest.approx(expected_score)
891 expected_score = metric(y, y_proba)
893 assert scorer(lr, X, y) == pytest.approx(expected_score)
907 expected_score = roc_auc_score(
911 assert scorer(lr, X, y_binary) == pytest.approx(expected_score)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/power/ml/smart_dim/
H A Dml_agent_unittest.cc117 const int expected_score, in CheckResult() argument
122 EXPECT_EQ(expected_score, prediction.inactivity_score()); in CheckResult()
/dports/textproc/py-nltk/nltk-3.4.1/nltk/test/unit/translate/
H A Dtest_stack_decoder.py50 expected_score = log(stack_decoder.distortion_factor) * (8 - 5)
51 self.assertEqual(score, expected_score)
/dports/biology/p5-BioPerl/BioPerl-1.7.7/t/Matrix/
H A DMatrix.t74 is($blosum_matrix->expected_score, -0.3573);
92 is($pam_matrix->expected_score, -0.844);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/translate/core/browser/
H A Dtranslate_ranker_impl_unittest.cc190 double expected_score = in TEST_F() local
204 auto ranker = GetRankerForTest(expected_score + epsilon); in TEST_F()
207 ranker = GetRankerForTest(expected_score - epsilon); in TEST_F()
211 EXPECT_EQ(expected_score >= 0.5, ranker->GetModelDecision(translate_event)); in TEST_F()
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/pengine/
H A Dpe_output.c49 const char *attrname, int *expected_score) in add_extra_info() argument
61 expected_score)) { in add_extra_info()
99 *expected_score = host_list_num * multiplier_i; in add_extra_info()
1521 int expected_score = va_arg(args, int); in node_attribute_text() local
1533 } else if (v < expected_score) { in node_attribute_text()
1551 int expected_score = va_arg(args, int); in node_attribute_html() local
1569 } else if (v < expected_score) { in node_attribute_html()
1694 int expected_score = va_arg(args, int); in node_attribute_xml() local
1702 char *buf = pcmk__itoa(expected_score); in node_attribute_xml()
1755 int expected_score = 0; in node_attribute_list() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/media/
H A Dmedia_engagement_service_unittest.cc227 double expected_score, in ExpectScores() argument
231 EXPECT_EQ(service->GetEngagementScore(origin), expected_score); in ExpectScores()
232 EXPECT_EQ(service->GetScoreMapForTesting()[origin], expected_score); in ExpectScores()
242 double expected_score, in ExpectScores() argument
246 ExpectScores(service_.get(), origin, expected_score, expected_visits, in ExpectScores()
/dports/biology/hisat2/hisat2-2.2.1/
H A Dbp_aligner.h735 … int64_t expected_score = hit.score() - (hit.rdoff() - hitoff) / jumplen * sc.mmpMax - sc.mmpMax; in hybridSearch_recur() local
736 if(expected_score >= minsc) { in hybridSearch_recur()
1210 … int64_t expected_score = hit.score() - (hitlen - hit.len()) / jumplen * sc.mmpMax - sc.mmpMax; in hybridSearch_recur() local
1211 if(expected_score >= minsc) { in hybridSearch_recur()

12