Description Usage Arguments Value Examples
Best is -1, worst is 0. Objective is to minimize.
1 | compute_identity(prediction, actual)
|
prediction |
Numeric vector same length as actual |
actual |
Numeric vector same length as prediction |
Numeric vector length one
1 2 3 4 | compute_identity(1:10, 1:10)
compute_identity(1:10, c(1:9, 1))
compute_identity(c("hey", "hello"), c("hey", "he"))
compute_identity(runif(10), sample(c(1,0), 10, replace=TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.