Question: (Closed) Accuracy of predicted model in Rstudio
gravatar for paramount.amin
11 weeks ago by
paramount.amin0 wrote:

I am trying to calculate the accuracy of a predicted model with respect to the real case. In this case, I am using linear regression to predict my desired value. Plots show good accuracy between predicted and real models but not as good as my calculation for accuracy suggests. I am using the following code to calculate the accuracy of my model in Rstudio:

predicted <- import.list$y1

actual <- import.list$T_stp_cool
comparison <- data.frame(actual,predicted)
difference <- ((actual-predicted)/actual)


In this case, accuracy is 99% most of the time but comparing the plots of the real case and predicted one does not show 99% accuracy. What's the most accurate way to calculate the accuracy of my model?

R • 143 views
ADD COMMENTlink written 11 weeks ago by paramount.amin0

Hello paramount.amin!

We believe that this post does not fit the main topic of this site.

This does not look like a bioinformatics question. Please let us know if it is.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.


ADD REPLYlink written 11 weeks ago by _r_am32k
Please log in to add an answer.
The thread is closed. No new answers may be added.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1608 users visited in the last hour