This function calculates the accuracy of the prediction to the true label.
A vector true class label.
A vector of final classified label prediction from XXX.
An accuracy value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.