<aside> 💡 Anmerkung: Polynomial Feautures können aus einem nichtlinearen Problem ein lineares Problem machen. So lässt es sich dann auch mit Logistic Regression lösen. Beispiel hier. Siehe auch Winning with Simple, even Linear, Models
</aside>
Like Linear Regression, Logistic Regression has metrics similar to R^2 and is also calculates p-values.
Main idea of Logistic Regression
Winning with Simple, even Linear, Models
The key difference between linear regression and logistic regression lies in their purpose and output:
Linear regression predicts continuous numerical values. It models the relationship between input variables and a continuous dependent variable by fitting a linear equation to the data. The output is a number that can take any value on a continuous scale (like predicting house prices, temperature, or height).
Logistic regression predicts probability values (between 0 and 1) for binary outcomes. It models the probability that an input belongs to a particular class by using the logistic function to transform its output into a probability value. The output is typically interpreted as classification into discrete categories (like email spam/not spam, customer will buy/not buy, disease present/absent).
Other important differences include: