Oooh that is nice, I didn't know `hasttr´ was working like that (I was assuming it simply checked whether the attribute was present). Indeed, this would simplify things to make svm throw an `AttributeError` instead.