Logistic regression can be thought of as a generalisation of the linear model to classification. This article provides a quick overview and an example in Python for binary and multi-class logistic regressions.
No free lunch (NFL) theorem
This short explains why there is no such a thing as a free lunch in the ML world.