Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does the model.predict() function do?
Think about how predictions are generated.
What are the two possible outputs of the logistic regression prediction?
Recall what logistic regression is used for.
What method is used to make predictions in logistic regression?
Consider the function that determines forecast results.
True or False: A confusion matrix shows the number of correct and incorrect predictions.
Think about what confusion matrices highlight.
Given three students who studied 2, 4, and 6 hours respectively, write the code to predict their pass outcomes using a logistic regression model.
Focus on how you format new data for prediction.
Evaluate the performance of a logistic regression model using the confusion matrix when actual results are [0, 1, 1, 0] and predicted values are [0, 1, 0, 0]. What do you find?
Recap the definitions of TP, TN, FP, FN and calculate!
5 more questions in this section. Enroll free to practise them all.
Enroll free