Solar flare forecasting with SVM algorithm