Description Usage Arguments Value Examples
View source: R/forensic_fasttext.R
Use to investigate where your choosen set of parameters for a fasttext model are lacking. Provides:
investigation to the magnitude of the predicted score for misclassfied texts.
comparison for the predicted label vs the actual label.
exposure for mislabelled training data.
1 | forensic_fasttext(k, texts, text_ids, labels, parameters, seed)
|
k |
The number of k-folds for each combination set of parameters to test. Defaults to 5. |
texts |
The texts given by the user to classify later. |
labels |
The labels for the texts given by the user train the FastText model. |
parameters |
A df that contains all the different combinations of paramters for a FastText model. Must include the following:
|
seed |
A number for |
texts_ids |
The text_ids in the text to output nice clean format. |
A dataframe with the average and SD accuracy for each row of parameters
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.