Generalized models and added special dataset generation for SVM