Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
Overall MCQs for Reference
- What does the F1-Score in Data Science primarily combine?
a. Precision and Specificity
b. Precision and Recall
c. Recall and Accuracy
d. Sensitivity and Specificity
Answer: b. Precision and Recallgeeksforgeeks+1 - The F1-Score is especially preferred over accuracy when:
a. Data is balanced
b. Every class has equal samples
c. Classes are imbalanced
d. Only binary classification is used
Answer: c. Classes are imbalancedc3+2 - What kind of mean does the F1-Score use?
a. Arithmetic Mean
b. Geometric Mean
c. Harmonic Mean
d. Weighted Mean
Answer: c. Harmonic Meanv7labs+2 - If precision is 1.0 and recall is 0.0, what will the F1-Score be?
a. 0.0
b. 1.0
c. 0.5
d. Cannot be determined
Answer: a. 0.0towardsdatascience+1 - Which of the following situations calls for using F1-Score?
a. High true negative importance
b. Imbalanced classes
c. Only multiclass classification
d. Unsupervised learning
Answer: b. Imbalanced classesarize+2 - F1-Score formula is:
a. (Precision + Recall) / 2
b. 2 × (Precision × Recall) / (Precision + Recall)
c. Precision – Recall
d. Precision × Recall
Answer: b. 2 × (Precision × Recall) / (Precision + Recall)appliedaicourse+2 - What is the range of F1-Score values?
a. 0 to 100
b. -1 to 1
c. 0 to 1
d. 1 to 10
Answer: c. 0 to 1scikit-learn+2 - What happens to F1-Score if either precision or recall is very low?
a. It becomes high
b. It remains unaffected
c. It drops significantly
d. It becomes negative
Answer: c. It drops significantlygeeksforgeeks+2 - Which dataset example best illustrates why accuracy can be misleading?
a. Balanced multi-class classification
b. Highly imbalanced binary dataset
c. Regression dataset
d. Small sample size
Answer: b. Highly imbalanced binary datasetfuturense+1 - What metric does F1-Score balance?
a. True positives and true negatives
b. Precision and recall
c. Accuracy and specificity
d. Sensitivity and precision
Answer: b. Precision and recalldevelopers.google+1 - In fraud detection, why is F1-Score important?
a. Fraudulent cases are frequent
b. Penalizes both false positives and false negatives
c. Increases overall accuracy
d. Emphasizes only recall
Answer: b. Penalizes both false positives and false negativesappliedaicourse+1 - An F1-Score close to 1 indicates:
a. Poor classification performance
b. Strong balance of precision and recall
c. High false positives
d. Only precision is maximized
Answer: b. Strong balance of precision and recallv7labs+1 - What is the F1-Score if precision = 0.8, recall = 0.8?
a. 0.8
b. 1.0
c. 0.64
d. 0.16
Answer: a. 0.8towardsdatascience+1 - The F1-Score formula penalizes:
a. High values of both metrics
b. Imbalance between precision and recall
c. The use of true negatives
d. The use of specificity
Answer: b. Imbalance between precision and recallv7labs+1 - F1-Score equals arithmetic mean only when:
a. Precision is zero
b. Recall is zero
c. Precision equals recall
d. Precision is highest
Answer: c. Precision equals recallgeeksforgeeks+1 - When would F1-Score be less suitable?
a. When true negatives are important
b. Binary classification only
c. Regression models
d. High sampling rates
Answer: a. When true negatives are importantappliedaicourse - What Python library is commonly used to compute F1-Score?
a. Pandas
b. NumPy
c. scikit-learn
d. TensorFlow
Answer: c. scikit-learnscikit-learn+1 - For multiclass classification, F1-Score can be:
a. Only macro
b. Macro, micro, or weighted
c. Only binary
d. Cannot be used
Answer: b. Macro, micro, or weightedscikit-learn+1 - Which performance metric is more informative than accuracy for imbalanced datasets?
a. ROC-AUC
b. F1-Score
c. True negative rate
d. Log-loss
Answer: b. F1-Scorefuturense+1 - What are the building blocks for F1-Score calculation?
a. True negatives only
b. Precision and recall
c. True positives only
d. True positive and false positive
Answer: b. Precision and recallfuturense+1 - F1-Score is useful for:
a. Data regression
b. Model balancing
c. Outlier detection
d. Clustering tasks
Answer: b. Model balancingv7labs+1 - In medical diagnostics, why is F1-Score relevant?
a. Emphasizes true negatives
b. Balances detection of disease and minimizing false negatives
c. Only minimizes false positives
d. Increases speed
Answer: b. Balances detection of disease and minimizing false negativesappliedaicourse+1 - What is a limitation of F1-Score for non-technical stakeholders?
a. Too simple to interpret
b. Less intuitive than accuracy
c. Ignores true positives
d. Can be negative
Answer: b. Less intuitive than accuracyappliedaicourse - Which metric does NOT affect F1-Score?
a. True Positives
b. False Positives
c. False Negatives
d. True Negatives
Answer: d. True Negativesappliedaicourse - F1-Score in multiclass classification is computed by:
a. Averaging across all classes
b. Summing recall
c. Summing specificity
d. Maximizing accuracy
Answer: a. Averaging across all classesscikit-learn+1 - What metric would you use if business priority is recall?
a. F1-Score
b. Recall
c. Accuracy
d. True negative rate
Answer: b. Recallappliedaicourse - When is F1-Score NOT ideal?
a. Precision and recall are equally important
b. True negatives matter most
c. Binary problems
d. Outlier detection
Answer: b. True negatives matter mostappliedaicourse - Which scenario would F1-Score help highlight model flaws?
a. Balanced classes
b. Imbalanced data where false negatives are costly
c. Regression analysis
d. Aggregated server logs
Answer: b. Imbalanced data where false negatives are costlyarize+1 - What does a low F1-Score suggest about a classifier?
a. Poor precision and/or recall
b. Good precision and recall
c. High accuracy
d. Strong true negatives
Answer: a. Poor precision and/or recalltowardsdatascience+1 - What does harmonic mean ensure in F1-Score?
a. Both precision and recall need to be high
b. True negatives aren’t counted
c. Recall is maximized
d. Accuracy is maximized
Answer: a. Both precision and recall need to be highgeeksforgeeks+1 - In spam detection, F1-Score is essential to:
a. Highlight only accurate classification
b. Balance precision for real emails and recall for spam
c. Emphasize specificity
d. Lower ROC-AUC
Answer: b. Balance precision for real emails and recall for spamappliedaicourse - Why use harmonic mean and not arithmetic mean in F1-Score?
a. Harmonic mean better handles rates
b. Arithmetic mean is rarely accurate
c. Arithmetic mean includes false negatives
d. Harmonic mean is less conservative
Answer: a. Harmonic mean better handles ratestowardsdatascience+1 - F1-Score penalizes models that:
a. Over-predict positives
b. Miss actual positives
c. Both a and b
d. None of the above
Answer: c. Both a and bfuturense+1 - Optimal F1-Score usage scenario:
a. Classification with equal error costs
b. Regression problems
c. Imbalanced datasets
d. Unsupervised clustering
Answer: c. Imbalanced datasetsarize+1 - Which metric is combined using harmonic mean in the F1 Score?
a. Accuracy and recall
b. Precision and recall
c. Recall and true negatives
d. Specificity and accuracy
Answer: b. Precision and recallgeeksforgeeks+1 - When precision and recall differ greatly, F1-Score will:
a. Average their sum
b. Be close to the smaller value
c. Always be 1
d. Ignore the difference
Answer: b. Be close to the smaller valuetowardsdatascience+1 - Which of these is a correct evaluation step for F1-Score in scikit-learn?
a. f1_score(y_true, y_pred)
b. mean_squared_error(y_true, y_pred)
c. recall_score(y_true, y_pred)
d. precision_score(y_true, y_pred)
Answer: a. f1_score(y_true, y_pred)scikit-learn+1 - What does a perfect F1-Score (1) mean?
a. Perfect accuracy
b. Perfect precision and recall
c. High true negatives
d. High FPR
Answer: b. Perfect precision and recallv7labs+1 - Which is NOT included in F1-Score calculation?
a. TP
b. FP
c. FN
d. TN
Answer: d. TNscikit-learn+1 - What does F1-Score measure overall?
a. Classification accuracy
b. Balance between precision and recall
c. Only specificity
d. Only recall
Answer: b. Balance between precision and recallgeeksforgeeks+1 - F1-Score for multi-class classification can be represented as:
a. Weighted average
b. Median
c. Minimum value
d. True negative total
Answer: a. Weighted averagescikit-learn+1 - Which type of datasets is F1-Score less useful for?
a. Balanced regression
b. Imbalanced classification
c. Binary classification
d. Outlier detection
Answer: a. Balanced regressionv7labs - The recall value for F1-Score is defined as:
a. TP / (TP + FP)
b. TP / (TP + FN)
c. FP / (FP + TN)
d. TN / (TN + FP)
Answer: b. TP / (TP + FN)futurense+1 - If both precision and recall are low, F1-Score will be:
a. High
b. Zero
c. Depends on true negatives
d. Unchanged
Answer: b. Zerotowardsdatascience+1 - The main advantage of F1-Score over accuracy:
a. Handles class imbalance
b. Provides higher values
c. Uses true negatives
d. Is easier to compute
Answer: a. Handles class imbalancec3+1 - F1-Score can also be called:
a. ROC-AUC
b. Sorensen-Dice coefficient
c. True Negative Rate
d. Log-loss
Answer: b. Sorensen-Dice coefficienttowardsdatascience - Which metric is NOT a component of F1-Score?
a. Precision
b. Recall
c. Accuracy
d. TP
Answer: c. Accuracygeeksforgeeks+1 - When is micro-F1 Score used?
a. Summing every class’s TP, FP, FN
b. Averaging individual F1 scores
c. Only binary classes
d. For regression
Answer: a. Summing every class’s TP, FP, FNscikit-learn+1 - How does F1-Score affect model selection in ML?
a. Prefer models with low recall
b. Select models with balanced precision and recall
c. Favor models with high specificity
d. Emphasize true negatives
Answer: b. Select models with balanced precision and recallv7labs+1 - What is the correct F1 formula for binary classification?
a. 2 × (precision × recall) / (precision + recall)
b. (precision – recall) / (precision + recall)
c. TP / (TP + FN)
d. TP / (TP + FP)
Answer: a. 2 × (precision × recall) / (precision + recall)futurense+2
- https://www.geeksforgeeks.org/machine-learning/f1-score-in-machine-learning/
- https://www.v7labs.com/blog/f1-score-guide
- https://c3.ai/glossary/data-science/f1-score/
- https://arize.com/blog-course/f1-score/
- https://www.appliedaicourse.com/blog/f1-score-in-machine-learning/
- https://en.wikipedia.org/wiki/F-score
- https://towardsdatascience.com/an-intuitive-guide-to-the-f1-score-55fe8233c79e/
- https://futurense.com/blog/f1-score-in-machine-learning
- https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html
- https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall
- https://encord.com/blog/f1-score-in-machine-learning/
- https://tutorialsdojo.com/understanding-f1-score-in-machine-learning/
- https://www.picsellia.com/post/understanding-the-f1-score-in-machine-learning-the-harmonic-mean-of-precision-and-recall