In: Computer Science
For this assignment, I'm going to give a series of problem statements and you need to state whether the problem would be more appropriately solved with a linear or logistic regression. You also have to give a short defense of why this is the correct regression for each one (only need a sentence or two for each).
1):Logistic Regression: The model should predict whether plant will be grown or not,so logistic regression will give the probability of growing plant in given situation.
2): Linear Regression: Themodel should predict number of fatal accidents with respect to speed limit and linear regression will give us a relation between speed limit and fatality
3) Linear regression: The model with llinear regression will predict number of users buying the widget with respect the price
4)Linear regression: The model should predict weight change with respect to calorie intake and so linear regression will give a relation between weight change and calorie intake
5)Linear regression: The model should predict number of lemonades sold with respect to the weather and so linear regression will give a relation between weather and number of lemonades to be prepared
(for any doubt about the answer just leave a comment)