Hello, dear useR,

Is there anyways to get the posterior probabilites for each group by using 
knn() instead of only get the proportions of winning class?

Example knn(train=Train[,-c(1:3)], test=Test, cl=group.id.train,k=K, prob=True)
will give you the proportions for winning votes, but I also want to know the 
other proportions of votes, how can I get that?

Thanks very much in advance!

Sincerely,

Leon


        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to