Machine Learning, Data Science, Optimization, Editors Pick, Thoughts And Theory.
using ‘x’ and ‘y’ as variables: fitting the model with the coded variables is handy because they are standardized but the prediction will not be useful in the new dataframe. We can see from the table below that the error nearby the red squares is lower and it increases as expected as we move