BOW with just two classes fails with -1 classid so changed to 1 for pos and 0 for neg