[R] visualizing a list of probabilities
Liaw, Andy
andy_liaw at merck.com
Mon Jun 21 19:50:56 CEST 2004
Not exactly sure what you want, but you might want to look at the margin()
function and the associated plot() method for margin objects in the
randokmForest package. (You won't be able to use them directly on an nnet
object, but the code should help.)
Cheers,
Andy
> From: Rajarshi Guha
>
> Hi,
> I'm using nnet to work on a 2 class classification problem.
> The result
> of my code is data.frame of true class, predicted class and associated
> probability.
>
> One way of summarizing the data is by a confusion matrix. However are
> there any graphical ways I could represent the data -
> specifically, I'd
> like to show the probabilities associated with each member of my
> prediction set?
>
> (I would rather not simply list the probabilities in a table)
>
> Thanks,
>
> -------------------------------------------------------------------
> Rajarshi Guha <rxg218 at psu.edu> <http://jijo.cjb.net>
> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
> -------------------------------------------------------------------
> Entropy isn't what it used to be.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list