Getting the following error with ResidualsPlot() and residuals_plot()
YellowbrickAttributeError: neither visualizer 'ResidualsPlot' nor wrapped estimator 'LinearRegression' have attribute 'line_color'
example code:
reg2 = LinearRegression() # sklearn
residuals_plot(estimator=reg2, X_train=X, y_train=y1)
or
residual_vis = ResidualsPlot(estimator=reg2)
residual_vis.fit(X=X,y=y1)