bias from labeled examples (With minimum loss) that model can able to predict new unseen data value. Given an X (input Features) and Y (target/label) GOAL
implement linear regression with one variable to predict profits for a food truck. Suppose you are the CEO of a restaurant franchise and are considering different cities for opening a new outlet. The chain already has trucks in various cities and you have data for profits and populations from the cities. http://bit.ly/linearReg (colab) File-> Save a copy in drive http://bit.ly/datasetex1(Dataset)
generates a probability—a value between 0 and 1, exclusive Many problems require a probability estimate as output. Logistic regression is an extremely efficient mechanism for calculating probabilities. Log Loss is the loss function for logistic regression.