Description Usage Arguments Details Value Examples
Function to normalize the scores of a flat scores matrix per class.
1 |
S |
matrix with the raw non normalized scores. Rows are examples and columns are classes. |
The scores of each class are normalized by dividing the score values for the maximum score of that class.
If the max score of a class is zero, no normalization is needed, otherwise NaN
value will be printed as results of 0 out of 0 division.
A score matrix with the same dimensions of S
, but with scores max/normalized separately for each class.
1 2 | data(scores);
maxnorm <- normalize.max(S);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.