ynlu.sdk.evaluation.tests package

Submodules

ynlu.sdk.evaluation.tests.test_entity_confusion_matrix module

class ynlu.sdk.evaluation.tests.test_entity_confusion_matrix.EntityConfusionMatrixTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_entity_confusion_matrix()[source]

ynlu.sdk.evaluation.tests.test_entity_overlapping_ratio module

class ynlu.sdk.evaluation.tests.test_entity_overlapping_ratio.OverlappingScoreTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_entity_overlapping_score()[source]
test_entity_overlapping_score_different_amount()[source]
test_single__entity_overlapping_score()[source]
test_single__entity_overlapping_score_different_length()[source]

ynlu.sdk.evaluation.tests.test_intent_accuracy_score_with_threshold module

class ynlu.sdk.evaluation.tests.test_intent_accuracy_score_with_threshold.AccuracyScorewithThresholdTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_intent_accuracy_score_with_threshold_change_normalize_false()[source]
test_intent_accuracy_score_with_threshold_change_normalize_sample_weight()[source]
test_intent_accuracy_score_with_threshold_change_theshold()[source]
test_intent_accuracy_score_with_threshold_default()[source]

ynlu.sdk.evaluation.tests.test_intent_precision_score_with_threshold module

class ynlu.sdk.evaluation.tests.test_intent_precision_score_with_threshold.PrecisionScorewithThresholdTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_intent_precision_score_with_threshold_change_theshold()[source]
test_intent_precision_score_with_threshold_default()[source]

ynlu.sdk.evaluation.tests.test_intent_recall_score_with_threshold module

class ynlu.sdk.evaluation.tests.test_intent_recall_score_with_threshold.RecallScorewithThresholdTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_intent_recall_score_with_threshold_change_theshold()[source]
test_intent_recall_score_with_threshold_default()[source]

ynlu.sdk.evaluation.tests.test_intent_topk_accuracy_score module

class ynlu.sdk.evaluation.tests.test_intent_topk_accuracy_score.TopKAccuracyScoreTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_single__top1_accuracy_score()[source]
test_single__top3_accuracy_score()[source]
test_top1_accuracy_score()[source]
test_top3_accuracy_score()[source]

ynlu.sdk.evaluation.tests.test_intent_topk_precision_score module

class ynlu.sdk.evaluation.tests.test_intent_topk_precision_score.TopKAccuracyScoreTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_single__top1_precision_score()[source]
test_single__top3_precision_score()[source]
test_top1_precision_score()[source]
test_top3_precision_score()[source]

ynlu.sdk.evaluation.tests.test_intent_topk_recall_score module

class ynlu.sdk.evaluation.tests.test_intent_topk_recall_score.TopKAccuracyScoreTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_single__top1_recall_score()[source]
test_single__top3_recall_score()[source]
test_top1_recall_score()[source]
test_top3_recall_score()[source]

ynlu.sdk.evaluation.tests.test_utils module

class ynlu.sdk.evaluation.tests.test_utils.OverlappingScoreTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_preprocess_annotated_utterance()[source]
test_preprocess_entity_prediction()[source]
test_preprocess_intent_prediction_by_threshold()[source]
test_remove_annotation()[source]

Module contents