We will take a brief tour of some well-known supervised learning algorithms and see how we can apply them to the Titanic survival prediction problem described earlier.
Supervised learning algorithms
Constructing a model using Patsy for scikit-learn
Before we start our tour of the machine learning algorithms, we need to know a little bit about the Patsy library. We will make use of Patsy to design features that will be used in conjunction with scikit-learn. Patsy is a package for creating what is known as design matrices. These design matrices are transformations of the features in our input data. The transformations are specified by expressions known as formulas, which correspond to a specification of what features we wish...