Why did I get different accuracy for different algorithms?

2 replies · 1K views · last reply
shivajikobardan
Messages
637
Reaction score
54
TL;DR
Why did I get different accuracy for different algorithms in same dataset?
Table 4.1.2 Algorithm Comparison listing accuracy (%), and precision (%) and recall (%) for classes 0 and 1: Decision Tree 95, 100/90 and 91/100; Logistic Regression 71, 69/77 and 74/66; KNN 93, 96/89 and 90/96; K-means Clustering 62, 60/68 and 63/56; SVM 65, 67/72 and 70/65.


Here are the codes(not all might be present, take it with grain of salt).

https://github.com/prabesh-regmi/Employee-Promotion-Prediction
 
"I might have made a mistake somewhere - here is a dump of all my code. Or maybe not. You figure it out." is a mighty big ask.

What work - if any - are you willing to do here?
 
  • Like
Likes   Reactions: berkeman
@shivajikobardan, it's unreasonable to ask us to look through several thousand lines of code to figure out why you are getting what you got.
Thread closed.
 
  • Like
Likes   Reactions: Wrichik Basu, .Scott, jim mcnamara and 3 others