View source: R/glm_correct_pred.R
glm_correct_pred | R Documentation |
Correct the predictions of a glm after an over-sampling step.
glm_correct_pred(predictions, original_avg, new_avg)
predictions |
numerical vector, glm predictions |
original_avg |
double, the original average prediction |
new_avg |
double, the new average prediction |
Formula is based on: www.data-mining-blog.com/tips-and-tutorials/overrepresentation-oversampling/
numerical vector, new corrected glm predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.