Description Usage Arguments Value
Evaluate a set of parameters for a given method with a given metric.
1 2 | evaluation(data_list, method, grid, grid_row, metric = NULL,
true_partition = NULL, return_metric = TRUE)
|
data_list |
a list of data matrices with continuous data of format samples x features (with the same number of samples). |
method |
a string being the name of the built-in method to be used or a 'method list' with the same format as the built-in ones. |
grid |
the grid generated in |
grid_row |
the row indicating the set of parameters to be tested in the grid |
metric |
a string being the name of the built-in metric to be used or a 'metric list' with the same format as the built-in ones. If the chosen metric is internal, be sure to choose a metric corresponding to the kind of data returned by the chosen method. |
true_partition |
a factor or integer vector being a classification of the patients. It will be used with external metrics. |
return_metric |
logical. To return the result of the method instead of the value of the metric. |
the value of the metric or the result of the method if return_metric
is TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.