introduction to machine learning and deep learning figure - actual and predicted values for model with degree the actual and predicted values are plotted in figure - figure - and figure - the source-code (functionfor creating the model is available in listing - we now have all the details in place to discuss the core concept of generalization the key question to ask is which is the better model--the one with degree the one with degree or the one with degree let' start by making few observations about the three models the model with degree performs poorly on both the seen as well as unseen data as compared to all other two models the model with degree performs better on seen data as compared to model with degree the model with degree performs better then model with degree on unseen data table - should help to clarify the interpretation of the models table - comparing the performance of the three models