I'm kind a new for python scikit learning i develop a data mining algorithm using scikit learn classification methods and now i need to find its accuracy. first just need to know,
What is difference between classification and regression score in Python scikit learn?
Is there any other way that i can calculate accuracy of my prediction algorithm?
r2_score(y_test,predictions)
f1_score(y_test,predictions)
Regression score (%)== 66%
Classification score (%) == 75%
algo = clf.fit()and then(Y_test == algo.predict(X_test)).mean(). This will give you your accuracy. check outsklearn.metrics.mean_absolute_errorandsklearn.metrics.mean_squared_error