fixes for the SVM classifier. apparently it behaves differently than MLP