1
$\begingroup$

I am studying on sentiment analysis of tourist reviews. 90% of reviews are positive the rest are negative. My Accuracy, Precision, Recall RMSE, and MAE values are the same for SVM, Naive Bayes, and Random Forest. Is it possible or is there any mistake? Btw, I am using Python.

Thank you.

$\endgroup$
1
  • $\begingroup$ Thank you for your suggestion. I know the site that you send of its link. But the values are the same for all of them. Maybe my mistake is regarding with TF-IDF matrix. Thank you again. $\endgroup$ – Özge Feb 4 at 18:30
0
$\begingroup$

Try setting average='weighted' for precision/recall and you should see some different values:

https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_score.html

I am not sure it is available for the other metrics.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy