Skip to content

R help-classification accuracy of DFA and RF using caret

7 messages · Henderson, Robin Michelle, David Winsemius, Rolf Turner +2 more

#
On Nov 6, 2013, at 10:07 AM, Henderson, Robin Michelle wrote:

            
Sensitivity, "accuracy" (= percent correct), and specificity are only defined when you establish a particular threshold for decision. The is no "sensitivity" or "specificity" that will accrue to a classification model. AUC is an effort at presenting such an overall value, but it has deficiencies and is insensitive to statistically significant differences in models.
I doubt very much that is by accident or oversight on the part of the randomForest developers.
I think you need to add a statistician to your committee. The difficulties you are facing (of which you appear to be unaware) are not just related to being new to R.
That error is pointing out that you are choosing a method that expects a particular form of outcome (continuous) and does not accept a categorical (possibly an R factor?) outcome. I suspect you may be using the `caret` package, but it's unclear. I think this is further evidence of the need for competent statistical consultation. You would be advised to study further in Venables and Ripley's MASS(v4) or in Hastie, Tibshirani, and Freidmans ESL(v2).

This link, found with a simple google search, suggests that the author of the cited code is at an academic institution only one state away from you: fw.oregonstate.edu/system/files/Van%20Sickle%20CV%20consult.pdf?. He may be willing to offer assistance.
#
On 11/07/13 10:57, David Winsemius wrote:
<SNIP>
<SNIP>

Fortune?

     cheers,

     Rolf
#
Second (perhaps with the slight addition indicated)

-- Bert

... And **amen!** to the sentiment expressed.
On Wed, Nov 6, 2013 at 2:08 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:

  
    
#
Seen on StackOverflow. Any seconds?


"I would heed the warnings and diagnostics. They are there for a reason. The Ostrich algorithm does not help you."

  -- Dirk Eddelbuettel commenting on StackOverflow when a questioner said he had not run R CMD check because he suspected other problems would be found (Nov 2013)



Achim: I also have a fortunes spelling correction (at least for v 1.5-0):
Looking at:  fortune("calibration")  == fortune(277),  The author's last name needs to be Beleites.
#
On 11/07/13 13:19, David Winsemius wrote:
Right on!!!

     cheers,

     Rolf
#
On Thu, 7 Nov 2013, Rolf Turner wrote:

            
Yes! :-)

Now also in the devel-version on R-Forge.

Thanks,
Z