dpa_generate_pr_metrics: Generates precision, and recall metrics for a given IR model....

Description Usage Arguments Value References

View source: R/dpa_generate_pr_metrics.R

Description

Generates precision, and recall metrics for a given IR model. Takes in vectors of the model's predictions, the real label for the documents and an optional model name.

Usage

1
dpa_generate_pr_metrics(model.prediction, real.label, model.name = "model")

Arguments

model.prediction

The prediction of your model, boolean.

real.label

The real label of the document, boolean.

model.name

The name of the model (optional)

Value

data.frame with the scores

References

www.globaltradealert.org


global-trade-alert/dpaclassifier documentation built on Feb. 25, 2022, 3:24 a.m.