I was performing the both classifiers for two different hyperspectral datasets. For one dataset SVM is performing better and for the other one RF is performing better. What could be the probable reasons for this results!
It depends on the data, we can't claim whether SVM is better or RF.
Try to decide by analyzing box plots on the two data sets. If there is a clear discrimination between two datasets, then SVM will work better. If the dataset is overlapping to some extent, then RF may give better results.
First, study the basics of machine learning. Each method has different characteristics. Well, it is really up to the learning process of each method. However SVM is more popular for the analysis of hyperspectral data. The underlying reason of SVM’s popularity for classification is achieving the high classification accuracy with a small number of training data and able to outperform than other conventional methods such as ANN and ML classification (not everytime, of course). However in some cases, RF can outperform SVM depending upon the input data and training data.
Therefore we can not say any of them is more powerful. Also look at the "no free lunch theorem" then you can understand better what we say. Hope it is clear.
See this paper: Ustuner, M., Sanli, F. B., and Abdikan, S.: BALANCED VS IMBALANCED TRAINING DATA: CLASSIFYING RAPIDEYE DATA WITH SUPPORT VECTOR MACHINES, Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci., XLI-B7, 379-384, https://doi.org/10.5194/isprs-archives-XLI-B7-379-2016, 2016.
It actually depends on the data set used, but mostly Random Forests acts better for classification, whereas Support Vector Machine acts better in regression. Try to tune the variables of RF seeking better results.
I can also confirm that the performance of each method highly depends on the dataset. Make sure that you tune the parameters of your classifiers. In my experience SVM is a bit more tricky in that regard and needs a bit more pre-processing (choosing the right kernel, etc). This might also be a reason for the difference in performance.
In our paper, which Pankaj Dey referenced (#10) SVM produced the best results, but I did not use hyperspectral data. RF was not as good, but easier to handle. In other projects RF has performed better.
It actually depends upon the type (Text/Images) and the size of the dataset. But, in most cases, SVM under different parameter settings can give better results.