azaro.
> Date: Thu, 19 Mar 2009 10:14:00 +0100
> Subject: Re: [R] Prediction-class ROCR
> From: tobias.s...@gmail.com
> To: rberet...@hotmail.com
> CC: r-help@r-project.org
>
> Regina,
>
> to get a simple ROC curve, use the following sequence of commands:
> pred <-
Regina,
to get a simple ROC curve, use the following sequence of commands:
pred <- prediction(predictions, labels)
perf <- performance(pred, "tpr", "fpr")
plot(perf)
In the first line, 'predictions' are the raw predictions (usually
numerical) of your classifier, and labels (as you correctly guesse
2 matches
Mail list logo