Skip to main content
Rollback to Revision 3
Source Link
cardinal
  • 27.3k
  • 8
  • 105
  • 140

stats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca Error while calculating metrics like AUC, ACC in R

teststats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchangeI am trying to make predictions on my validation data using a decision tree model created with training data set.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R.stackexchange Here is the screen shot with errors and commands that I used.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats Note: Right click the image and select view image to see it clearly.stackexchange "t" is my training data set and "v" is validation data set.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats mmetric

Note: You can download my training data set "t" and validation data set "v" as a .stackexchangecsv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

Thanks,

P

stats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

teststats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

Error while calculating metrics like AUC, ACC in R

I am trying to make predictions on my validation data using a decision tree model created with training data set. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R. Here is the screen shot with errors and commands that I used. Note: Right click the image and select view image to see it clearly. "t" is my training data set and "v" is validation data set. mmetric

Note: You can download my training data set "t" and validation data set "v" as a .csv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.

Thanks,

P

deleted 17 characters in body; edited tags; edited title
Source Link
user16603
user16603

Error while calculating metrics like AUC, ACC in R stats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

I am trying to make predictions on my validation data using a decision tree model created with training data setteststats. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in Rstackexchange. Here is the screen shot with errors and commands that I usedcom/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats. Note: Right click the image and select view image to see it clearlystackexchange. "t" is my training data set and "v" is validation data setcom/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats. mmetric

Note: You can download my training data set "t" and validation data set "v" as a stackexchange.csv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data setcom/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.

Thanks,

Pstackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

Error while calculating metrics like AUC, ACC in R

I am trying to make predictions on my validation data using a decision tree model created with training data set. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R. Here is the screen shot with errors and commands that I used. Note: Right click the image and select view image to see it clearly. "t" is my training data set and "v" is validation data set. mmetric

Note: You can download my training data set "t" and validation data set "v" as a .csv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.

Thanks,

P

stats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

teststats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5castats.stackexchange.com/posts/45053/edit-submit/63e166fe-1f37-4460-b072-33e2d67aa5ca

Question improved
Source Link
user16603
user16603

I am trying to make predictions on my validation data using a decision tree model created with training data set. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R. Here is the screen shot with errors and commands that I used. Note: Right click the image and select view image to see it clearly. "t" is my training data set and "v" is validation data set. mmetric

INote: You can download my training data set "t" and validation data set "v" as a .csv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.

Thanks,

P

I am trying to make predictions on my validation data using a decision tree model created with training data set. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R. Here is the screen shot with errors and commands that I used. Note: Right click the image and select view image to see it clearly. "t" is my training data set and "v" is validation data set. mmetric

I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.

Thanks,

P

I am trying to make predictions on my validation data using a decision tree model created with training data set. I am able to do that with success but, I am not able to calculate various metrics like Area under curve (AUC), and overall classification rate (ACC) using mmetric() command in R. Here is the screen shot with errors and commands that I used. Note: Right click the image and select view image to see it clearly. "t" is my training data set and "v" is validation data set. mmetric

Note: You can download my training data set "t" and validation data set "v" as a .csv files from here: Click here I used the same commands for a different data set and it worked perfectly, so could be this due to some problem with my data set.

Thanks,

P

Question improved
Source Link
user16603
user16603
Loading
Source Link
user16603
user16603
Loading