October 2017
Beginner to intermediate
270 pages
7h
English
When looking for a model, one of the main characteristics we look for is the power of generalizing with a simple functional expression. When we increase the complexity of the model, it's possible that we are building a model that is good for the training data, but will be too optimized for that particular subset of data.
Underfitting, on the other hand, applies to situations where the model is too simple, such as this case, which can be represented fairly well with a simple linear model.
In the following example, we will work on the same problem as before, using the scikit-learn library to search higher-order polynomials to fit the incoming data with increasingly complex ...
Read now
Unlock full access