Week 6: Regression vs. Classification
October 16, 2019A flexible generalization of ordinary linear regression that allows for response variables that have error distribution models other than a normal distribution.
Is this a good forecast?
Regression analysis estimates the conditional expectation of the dependent variable given the independent variables.
Classification is the problem of identifying to which of a set of categories a new observation belongs.
Solved by gradient descent. (optimization)
Logisitic regression and many other classification models output a continuous value between 0 and 1.
zombie apocalypse use case: you're hunting zombies, and you need to kill as many zombies as possible without killing any humans
zombie apocalypse use case: you discover a cure for zombies, but can only apply it k infected people
zombie apocalypse use case: zombies have infected roughly half the population, and you're throwing them a party. you are putting together an invite list and want to make sure you invite an equal amount of zombies and humans.
DataCamp's Machine Learning with Tree-Based Models in Python