Fix bug, when num of row of a subplot is 0.
Add predict option, and add probability prediction for svm.