Exemplo n.º 1
0
def evaluate_typo_classifier():

    evaluate_concept_classifier(concept='Typo',
                                text_name='message',
                                classification_function=is_typo,
                                samples_file=join(DATA_PATH,
                                                  'commit_typos_samples.csv'))
def evaluate_security_classifier():

    evaluate_concept_classifier(concept='Security',
                                text_name='message',
                                classification_function=is_security,
                                samples_file=join(
                                    DATA_PATH, 'commit_security_samples.csv'))
def evaluate_satd_classifier():

    evaluate_concept_classifier(concept='satd',
                                text_name='message',
                                classification_function=is_satd,
                                samples_file=join(DATA_PATH,
                                                  'satd_samples.csv'))
Exemplo n.º 4
0
def evaluate_good_classifier():

    evaluate_concept_classifier(concept='good',
                                text_name='message',
                                classification_function=is_good,
                                samples_file=join(DATA_PATH,
                                                  'good_texts_tests.csv'))
def evaluate_swearing_classifier():

    evaluate_concept_classifier(concept='Swearing',
                                text_name='body',
                                classification_function=is_swearing,
                                samples_file=join(
                                    DATA_PATH,
                                    'pull_request_swearing_hits.csv'))
def evaluate_performance_classifier():

    evaluate_concept_classifier(concept='performance',
                                text_name='message',
                                classification_function=is_performance,
                                samples_file=join(
                                    DATA_PATH,
                                    'commit_performance_samples.csv'))