[R] ROCR data input

2010-08-17 Thread wookie
Hi there, I'm having some difficulty with the ROCR package. I've installed it fine, and the sample data works (ROCR.simple), however when I try to load my own data it complains that there is an error in prediction as the number of classes is not equal to 2. I read the data from a text file which

Re: [R] ROCR data input

2010-08-17 Thread wookie
Sorry, I'm new to R, and relatively new to statistics too so I'm still a bit unclear. The values in the post were only a sample of around 8400 rows. The label has 1 or 0 (I thought this was the two classes needed). Each label row has an equivalent probability. This is the data that I output from

[R] ROCR data format

2010-08-17 Thread wookie
Hi there, I'm having some difficulty with the ROCR package. I've installed it fine, and the sample data works (ROCR.simple), however when I try to load my own data it complains that the number of predictions should be the same as the number of labels for each run. I imported as a txt file with