Question: what is the difference between svm and random forest?
Answer: For a classification problem Random Forest gives you probability of belonging to class. SVM gives you distance to the boundary, you still need to convert it to probability somehow if you need probability. ... SVM gives you "support vectors", that is points in each class closest to the boundary between classes.