https://365datascience.com/dwqa-answer/answer-for-logistic-regression-on-purchase-incidence-vs-average-candy-price/ -
Hi MinliYu,
thanks for reaching out!
When you create a scatter plot on X and Y, you’re creating a scatter plot on those two variables X and Y. In our case:
Y is the incidence column which is binary(contains 0s and 1s)
X is the average price.
A scatter plot shows each point with coordinates X and Y on a 2D plane.So, the pair of parallel lines you’re seeing are for the 0s and 1s from the X variable. And a scatter plot of X and Y should look exactly like that.
A sigmoid function, on the other hand, is something different. The sigmoid function is the logistic function used by the Logistic Regression to estimate the class probabilities.
Best,
Eli
#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy
No comments:
Post a Comment