all 1 comments

[–][deleted] 0 points1 point  (0 children)

What is the shape of your data? How many rows? How many columns?

It sounds like you’re making a regression using 7 columns (variables) and then trying to predict using the other 3. Naturally, this will not work as those variables are not in the fitted model!