Loading...
Traffic Jams have become a common part of our lives now-a-days. Living in an urban area means you have to face traffic each and every time you get out on the road. Mostly, school students opt for buses to go to school. Many times the bus gets late due to such jams and students are not able to reach their school on time. Thus, an AI model is created to predict explicitly if there would be a traffic jam on their way to school or not. The confusion matrix for the same is The Confusion Matrix | Actual : 1 | Actual : 0 Predicted : 1 | 50 | 50 Predicted : 0 | 0 | 0 Explain the process of calculating F1 score for the given problem.
© 2026 PadhAiPro. This question is provided for educational purposes.
Read the following paragraph and answer the questions that follow : PQR Security Solutions has designed an AI Model to detect cyber attacks on E-Commerce websites. For this, various network activities were monitored and analyzed on one of the websites. The model was tested on a dataset of 1500 network activities. Out of these, the model correctly predicted that 1000 were cyber attacks. It also correctly identified that 250 were not cyber attacks. However, the model predicted that 200 were cyber attacks but actually they were not. Additionally, it predicted that 50 were not cyber attacks but they actually were.
An AI model has been developed to predict whether electric vehicle batteries need replacement based on performance data. The model was tested on a dataset of 700 vehicles and the resulting confusion matrix is as follows : Confusion Matrix | Reality Yes | No Prediction | Yes | 590 | 20 Prediction | No | 10 | 80 The above Confusion Matrix can also be represented as follows : Predicted Values 1 | 0 Actual Values | 1 | 590 | 10 Actual Values | 0 | 20 | 80
It is one of the parameters for evaluating a model’s performance and is defined as the percentage of true positive cases versus all the cases where the prediction is true. Which of the following evaluation parameter is this ?
An AI model has been developed to test specimens of blood/urine/cough etc. to diagnose ailments (diabetes/liver infection etc.). The model was tested on a data-set of about 630 tests and the resulting confusion matrix is as follows : Confusion Matrix | Reality Yes | Reality No Prediction Yes | 110 | 60 Prediction No | 50 | 410
A sentiment analysis model was built to classify movie reviews as either ‘Positive’ or ‘Negative’. The model was tested on a dataset of 500 reviews, resulting in the following confusion matrix : Confusion Matrix | Reality Yes | Reality No Predicted Yes | 300 | 40 Predicted No | 60 | 100