evaluate_internal | R Documentation |
Given a Metric
object or list of Metric
objects,
this function evaluates an Output
object according to these
metrics. The computed values of the metrics are saved to file.
evaluate_internal( metrics, dir = ".", model_name, index, method_names, out_loc = "out" )
metrics |
a list of |
dir |
the directory where |
model_name |
the |
index |
the index of a computed |
method_names |
the |
out_loc |
(optional) a length-1 character vector that gives location (relative to model's path) that method outputs are stored. |
This function creates objects of class Evals
and saves each to
file (at dir/model_name/<out_loc>/r<index>_<method_name>_evals.Rdata. Since
evaluating metrics is usually (in statistical methodological papers) fast,
parallel functionality has not been developed for the evaluation component.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.