I was unclear on what it was doing when I looked at it last night, it may just need a similar treatment to SVM (mapping subject to integers), I'll look into it again later