-
-
Save nopps07/d71cf9267788a4968ab2cb2be0ad0311 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{r prediction} | |
probs <- predict(fit, test, type = "response") | |
probs[1:5] | |
pred <- ifelse(probs > 0.5, "Good", "Bad") | |
pred[1:5] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment