Description Usage Arguments Value Examples
View source: R/MachineLearningNLP.R
This function applies the feature weights stored in the ml_model_coef.xlsx file (one sheet = one model) To a the input feature matrix text.dfm preprocessed using CreateTextFeatures
1 2 | MachineLearningNLP(finding.list, text.dfm, regex.df.wide,
ml_feature_weights, grouping_var = "imageid")
|
finding.list |
The vector of string of findings |
text.dfm |
DFM object of N-grams |
regex.df.wide |
Regex, negex features |
ml_feature_weights |
Data frame of feature names and feature weights |
grouping_var |
Unique identifier of report |
A dataframe containing machine-learing predicted probabilities (between 0 and 1) and predicted classes (0 or 1) for each finding in finding.list
1 | MachineLearningNLP(finding.list, text.dfm, regex.df.wide, grouping_var = "imageid")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.