← Back to Articles
Machine Learning Methods• 8 min read

Machine Learning Model Evaluation Metrics: A Practical Analysis

Download as PDF

Abstract

The world of Machine Learning (ML) is changing rapidly and it is possible to predict the future crop yield or credit rating with the help of algorithms, and yet, there exists a silent defect that is making even the most advanced models flawed. So this fallacy is what we refer to as the Accuracy Trap. Researchers and industry experts in the crowded data science laboratories of Dhaka and financial hubs of Motijheel have become victims of it, particularly in cases of imbalanced data-sets- a frequent problem in industries in Bangladesh.

Consider the following situation: you have been asked to create a machine learning model that can identify fraudulent transactions in a mobile financial service (MFS) in Bangladesh. According to a normal dataset, 99.9 percent of transactions are valid, and the number of fraudulent transactions is 0.1 percent. At this point, a system that just attributes each and every transaction as Legitimate will have an incredible 99.9% accuracy. But practically, this model is not helpful at all, it has not been able to point at a single fraudster.

This is the trap of Accuracy, the concept of accuracy is a poor and misleading parameter in the assessment of model performance, particularly where the data is biased. With the movement of Bangladesh to 2026, model evaluation metrics research has become the foundation of trustworthy artificial intelligence (AI). We are going to disaggregate how to prevent the Accuracy Trap in this post and how to pick the right measures to determine the success of your model, especially when the data that you will be working with are imbalanced as in the case of local industries.

The Toolkit: More Than Accuracy

from Simple.

We cannot simply consider a model by its accuracy to gain a real understanding of its performance. The most important thing to measure is how well the model distinguishes the two classes of interest not only whether the model is getting the right answer in a high percentage of instances. That brings us to the significance of the Confusion Matrix, which is the truth of all predictions, which is divided into four categories:

True Positives (TP): Positive results that have been correctly predicted.

True Negatives (TN): True negative predictions.

False Positives (FP): The results that were falsely predicted to be positive.

False Negatives (FN): False negative predictions.

By knowing these parts we can further peep into the actual performance of the model and even feel whether it is indeed making some use predictions.

1. Precision vs. Recall The Balancing Act.

The issue of Precision versus Recall is often determined in Bangladesh by the Cost of Error over the problem. All metrics convey us a different picture of the performance of the model, and it is important to know which one is more crucial in a particular application.

Precision (Exactness)

Precision is the accuracy of the positive predictions:

Of all the students we put the flag of being at-risk, how many of them were actually at-risk?

This measure is especially effective in scenarios as a result of which an intervention is too expensive or resource-intensive. An example here is the predictive character of a student at risk of failing; an intervention (e.g. tutoring, counseling) can be costly. Here, you would would like to have a model that is few false positives, i.e. the students identified as at-risk are really at-risk and such this will save on the wastage of resources.

Recall (Completeness)

Recall is the ability of the model to recognize real positives:

How many among the actual at-risk students did we actually catch?

With a high cost of absence of the person, recall is crucial. Considering a case in point, it is a high-stakes task to diagnose a rare disease in a rural health clinic. False Negative (Missing a case) may have severe consequences and therefore it is important to identify as many true positives as possible even at the cost of an even higher number of false positives.

2. The F1-Score: The Harmonic Mean

The F1-Score is the best measure to take when you require a balance between Precision and Recall. It assigns only one score which is the precision and completeness of predictions made by model. This particularly comes in handy in the local contexts of Bangladesh where you are interested in both accuracy in the way you distribute your resources and also completeness in your methods of detection like in the case of dengue outbreaks.

The F1-Score formula is as shown below:

F1=2(Precision ×Recall)/(Precision +Recall)

Quantitative Insight: Metric Ranking Models.

The recent benchmarks (20252026) based on the student performance data of ten schools in Bangladesh demonstrate how the choice of a metric can entirely transform which of the models seems to be the Best. These models were tested on Accuracy, Recall (At-Risk), F1-Score and AUC-ROC.

Model Accuracy Recall (At-Risk) F1-Score AUC-ROC Accuracy Ranking F1 Ranking

Logit Baseline 78.5% 45% 0.52 0.76 3rd 3rd

Random Forest 92.1% 72% 0.84 0.91 2nd 2nd

XGBoost (Tuned) 94.8% 91% 0.93 0.97 1st 1st

Key Takeaway:

Whereas XGBoost achieves higher accuracy and F1-score, a naive model that responds Pass to all the samples can still achieve a high accuracy of about 70% or higher. The AUC-ROC (0.97) of XGBoost (0.97) indicates that it better distinguishes these two classes, irrespective of the decision threshold, therefore it provided a more powerful model than the bare accuracy.

The Power of ROC-AUC

Two of the most solid measures of classifier performance, particularly in an imbalanced dataset, are the Receiver Operating Characteristic (ROC) Curve, and the Area Under the Curve (AUC).

Interpretation of AUC:

auc = 0.5: This is no better than a coin (e.g. the forecasting of the traffic situation in Dhaka on a random day).

AUC=0.8-0.9: Superior performance (e.g. typical of most financial models).

AUC values above 0.9: excellent (e.g. critical healthcare diagnostics target).

The AUC-ROC in the Bangladeshi environment gives the best hint of a model of discriminatory power at all levels. High impact applications such as healthcare diagnostics or financial fraud detection should have a benchmark AUC of more than 0.9.

The Bangladeshi Researcher best practices.

In order to prevent the Accuracy Trap and make sure that ML models operate as intended, the following best practices need to be observed by the researchers in Bangladesh:

1. Always Cross validate stratified:

Make sure that the ratio of classes in each fold of your data is identical to the original set of data. This guarantees that both categories (e.g., the one that is fraud and the one that is legitimate transactions) will be represented in both training and testing set in accordance with their respective proportion in the sample.

2. Report the Confusion Matrix:

Always do not trust one percentage (e.g., accuracy). Show the Confusion Matrix to indicate the performance of the model on all four categories of the model which include True Positives, True Negatives, False Positives, and False Negatives. This will give a far better insight of model performance.

3. Maximize on the Business Goal:

In other uses, e.g. credit scoring by a local bank, the price of a False Negative (lending to a defaulter) is significantly greater than that of a False Positive (denying a good borrower). This business priority should be reflected in the metric choice you make. In this instance, the more relevant indicator might be recall and this could be achieved by ensuring that as many applicants at risk could be caught so that there would be no substantial financial losses.

4. Avoid Overfitting:

Particularly where the data is small make sure that your model is not too sensitive to noise. Avoid training models that are highly cross-validated or regularised or even simple models which can be very effective on training data, but do not work well in the real world.

5. Take into account the Computational Cost:

Decision Trees and Logistic Regression can be the most economical in a resource-constrained setting (e.g., these are often used in a district-level institution). These models need significantly less computing power than Gradient Boosting techniques such as XGBoost and they have a reasonable level of performance in many typical applications, including administrative decision-making and preliminary risk estimates.

Conclusion: Measuring What Matters.

In an age of machine learning where artificial intelligence has become essential in tackling complicated issues as diverse as healthcare to agriculture, we are simply too naive to be duped with the high accuracy rates on the unbalanced data. It is always possible to see a model do extremely well on the surface, but unless properly evaluated by the right metrics, it may be missing the most significant predictions.

With appropriate evaluation metrics, including F1-Score and AUC-ROC, and a concern over the cost of error in each application of machine learning technology, we can make sure that machine learning models in Bangladesh are not merely mathematical fancies, but useful instruments in making decisions based on data.

Whether working in Agri-Tech, Fin-Tech or Ed-Tech, being aware of these subtleties and using the appropriate metrics will enable you to create models that bring real-world value model that does not just work on paper but creates actionable insights that can give rise to positive changes in the rapidly developing sectors of Bangladesh.

CITE THIS ARTICLE

Podder, S. (n.d.). Machine Learning Model Evaluation Metrics: A Practical Analysis. https://www.researchbysimanto.com/article/1fd16f5a-ebe7-499e-8acf-f0f661a90d7c

Continue reading

View All Articles

Predicting Student Academic Performance Using Machine Learning

A final CGPA, in the busy academic quarters of Dhaka and elsewhere is indeed the eyeshield of a student in the end of a semester- a kind of revelation of a year of academic results in a nutshell. This moment of truth, though, is not that far away, as something that actually indicates the overall academic path of a student. More and more studies are suggesting that, it is hardly unexpected when academic performance is either successful or not. It is the result of several months of computer and ph

Date not specified

CategoryEducational Data Mining

Feature Engineering Strategies in Educational Data Mining

Machine Learning (ML) algorithms have emerged as the engine of educational predictions in the changing world of Educational Data Mining (EDM) with feature engineering becoming the high-octane fuel that fuels it. In the hugely expanding academic environment of Bangladesh where computer-based classrooms and the traditional learning system collide, it is no longer a conjecture to know whether a student will pass or fail. It has become a specific art of data transformations.

Date not specified

CategoryEducational Data Mining

Early Dropout Prediction Using Supervised Learning

In the changing environment in higher education in Bangladesh, leaving without graduation is seldom an unanticipated move by a student. It can be a slow moving process, and it is characterized by the presence of digital footprints, and minor behavioral changes that nobody notices at all until it is too late. Although the national primary and secondary dropouts have been improving steadily, there is concern in the tertiary level. According to some studies, the level of drop out at the university

Date not specified

CategoryEducational Data Mining