Hi KFrank,
Thanks a lot for the reply,What to do then,my class labels are starting from 1 and i have class labels from 1 to 7.
And also i can’t see any out of bounds error picture here(which you mentioned you uploaded it).
I posted screen shot because it will be clear about the error.May be next time on wards i will post whole error once by copy pasting it.
Remember, class labels are really just arbitrary labels that distinguish
one class from another, but nothing else. They have no numerical
meaning.
So just subtract 1 from all of your labels to get a set that runs from 0 to 6. You could either do this by preprocessing your data, or you
could do it on the fly.
Sorry about that. I was quoting you (rather than referring to an upload
of my own), but I messed up the forum quote block. (I’ve edited my
post to fix the quoting and clean that up.)
Thanks, that would be great. Makes for a more functional forum.