Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to specify that the model should return class labels using errorest in R

$
0
0

@hackers wrote:

hello,

I am trying to solve the hand written digit recognizer problem of Kaggle.I am trying to compare the error rates of various models as below:

As can be seen for the naiveBayes model there is an error.I understand that this is happening because nb returns posterior probabilities.I am sure there is a way to specify that I want predicted class instead of prob but how do I do it in the errorest function??
Can someone please help me with this??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles