Nothing
test_that("Q2_calculation_forclassification works", {
classification_prediction_matrix <- classModel$yPred
y <- Yotu
Q2_calculation_forclassification(classification_prediction_matrix,
y)
### There should be one Q2 for each value
expect_equal(length(Q2_calculation_forclassification(classification_prediction_matrix,y)),
length(levels(y)) )
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.