scoreRatio | R Documentation |
Computes the ^y score of the model as a ratio
scoreRatio(class_1_score, class_2_score, epsilon = NULL)
class_1_score: |
the sum score for the features of class 1 |
class_2_score: |
the sum score for the features of class 2 |
epsilon: |
is a very small value that will would avoid Inf values in the ratio. This can be either specified in the when setting the classifier and if not specified will be set as the minimum number of the machine (e.g. 2.23e-308). Caution this should be adapted when working with other types of data. |
a vector containing the predicted ^y score for each observation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.