However, I am curious as to how you map the coefficients back to the actual names of the variables you had in your dataframe. Is it safe to assume that the order of the ‘X0, X1, X2…’ variables in the final equation the function delivers is the same order as the variables were in in the original dataframe?

It seems to difficult to interpret the effect each variable is having on the prediction if you can’t map the coefficient back to the actual variable.

Thanks in advance!

]]>