Traverse the rows of a matrix of probabilities of size n x k, where the n rows are samples, and the k columns are the probability of assignment of the sample to each of k classes. The most probable class assignment is selected for each row and a vector of classes is returned.
A matrix of probabilities.
Additional arguments, not currently used.
A vector of class assignments of lenght
Greg Finak <firstname.lastname@example.org>, Raphael Gottardo <email@example.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.