KPI_table | R Documentation |
Generates a table with the values of the KPI.
Function that generates a table with the values of the KPI.
KPI_table(data_object, ...)
## S3 method for class 'as_data'
KPI_table(data_object, predictions = NULL, test = TRUE, ...)
data_object |
an object of class |
... |
other parameters. |
predictions |
a data frame with the predicted KPI for each algorithm (columns) and for each instance (rows). If NULL, the table won't include a ML column. |
test |
flag that indicates whether the function should use test data or training data. |
A table, result of the respective KPI_table method.
A table with the statistics of the pace.
data(branchingsmall)
data_object <- partition_and_normalize(branchingsmall$x, branchingsmall$y, test_size = 0.3,
family_column = 1, split_by_family = TRUE)
training <- AStrain(data_object, method = "glm")
predictions <- ASpredict(training, newdata = data_object$x.test)
KPI_table(data_object, predictions = predictions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.