# How do I plot linear regression results if input and target have different sizes? [closed]

For a linear regression model that I conducted, I'd like to review the regression plot of results. But since I have an input of size 6 parameters and target (output therefore) of 4, I get error when I use this code : source code

pyplot.scatter(x_train, y_train)
pyplot.plot(np.sort(x_values, axis=0,prediction)
pyplot.show()

• You want to scatter data with more than 3 dimensions?? Jul 12, 2018 at 11:05
• @AndreasLook No but there should be a measure of correctness of the regression analysis at the end Jul 12, 2018 at 11:28
• You can use different plot for each target. Jul 12, 2018 at 11:41

plot(my.model\$residuals)