<div dir="ltr"><div>Hola a todos,</div><div><br></div><div>Estoy intentando utilizar este script para hacer un plot con valores x ,y,z; representando los valores TP(y) y FP(x) y en funcion de la velocidad que seria el factor alpha.<br>
</div><div>Y me da este en el ultimo punto de hacer el plot, alguien sabe que significa?<br><br>library(ROCR)<br>data(ROCR.simple)<br>pred <- prediction( ROCR.simple$predictions, ROCR.simple$labels )<br>perf <- performance( pred, "tpr", "fpr" )<br>
filename<-"rocdata csv.csv"<br><br>Anthias<- read.table(filename, sep=",",header=TRUE)<br><br>windows(width = 9.5, height = 10.50)<br>par(mfrow = c(1,1))<br><br>cc<-Anthias[1]       <br>ee<-Anthias[2]       <br>
aa<-Anthias[3]<br><br><a href="mailto:perf@x.name">perf@x.name</a><-"FP"<br><a href="mailto:perf@y.name">perf@y.name</a><-"TP"<br><a href="mailto:perf@alpha.name">perf@alpha.name</a><-"Speed"<br>
<br>bb<-data.frame(aa)<br>perf@x.values<-bb<br><br>dd<-data.frame(cc)<br>perf@y.values<-dd<br><br>ff<-data.frame(ee)<br>perf@alpha.values<-ff<br><br><br>plot(perf, main="Teste", colorize=TRUE, <a href="http://coloraxis.at">coloraxis.at</a>=c(0,2,4,6,8,10),<br>
coloraxis.cex.axis=0.8, colorize.palette=(rainbow(256,start=0, end=0.7)),<br>lwd=7, colorkey.relwidth=0.4, yaxis.las=1)<br><br><br></div><div>Si alguien puede darme alguna idea, agradeceria.Muchas gracias¡<br></div></div>