isSameTopicAndSameCVE: Validate if Topics Group or not emails from same CVE ID

Description Usage Arguments Value

View source: R/validation.R

Description

This function is used to validate the models from PERCEIVE, by checking if emails discussing about the same vulnerability were mapped to the same topic (good), or not (bad). See the topic_flow_creation vignette for it's usage.

Usage

1
isSameTopicAndSameCVE(models, cves, chosen_year)

Arguments

chosen_year

The year to validate the method, as used in the topic_flow_creation vignette.

A

list of lda models. See rawToLDA.

A

list of cves and file emails, as parsed from CVE Mitre Website. See the validation vignette (cve_mitre_xml_parser_to_yearly_validation.Rmd) for details.

Value

A table containing the email of the files, their cve id, and wether they mapped or not to the same topic.


sailuh/topicflowr documentation built on May 27, 2019, 8:46 a.m.