I want to plot prediction-error using Yellowbrick visualizer but i am not getting the desired results. The plot is similar to the pp plot or a qq plot which is not correct. Also i am not able to change the labels of the axes and add title nor am i getting any by default labels and legend. can anyone please tell me what should i do. here's the code for visualizer:
def predict_error(model):
visualizer = PredictionError(model)
visualizer.fit(X_train, Y_train) # Fit the training data to the visualizer
visualizer.score(X_test, Y_test) # Evaluate the model on the test data
visualizer.show()
This is the output i am getting: