Python Forum
Graph that shows predicted vs true values
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graph that shows predicted vs true values
#1
Hey guys,

I have a simple Random Forest Regression Model which is supposed to predict the Number of Likes of an Instagram Picture based on given features.
On some pictures the results are amazing, on others not so much. Hence I want to take a look at the content of the pictures where the prediction is bad. To be more specific I want a graph which shows the true values of the test set vs the predicted values which have an accuracy lower than 80% and moreover list the row of the image in the test data frame.
Is something like this possible? thanks in advance!
Reply
#2
Yes, but a bit more manual than usual.
For your test set, loop through using your prediction function to get a predicted value, compare to the real value, and if off by more than 20% then note that row in your dataframe
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to install tensorflow? It shows as error jaroslavtavgen 1 1,956 Apr-26-2020, 10:09 PM
Last Post: Larz60+
  How to obtain values under All when the margins of pivot_table is set to True? new_to_python 0 1,546 Mar-03-2020, 02:54 PM
Last Post: new_to_python
  Join Predicted values with test dataset bhuwan 4 10,402 Mar-28-2019, 12:42 AM
Last Post: bhuwan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020