{"id":3989,"date":"2025-07-24T13:33:23","date_gmt":"2025-07-24T13:33:23","guid":{"rendered":"https:\/\/uplatz.com\/blog\/?p=3989"},"modified":"2025-07-24T13:33:23","modified_gmt":"2025-07-24T13:33:23","slug":"f1-score-formula-balancing-precision-and-recall-in-one-metric","status":"publish","type":"post","link":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/","title":{"rendered":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric"},"content":{"rendered":"<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3990\" src=\"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg 1280w, https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1-300x169.jpg 300w, https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1-1024x576.jpg 1024w, https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/>\ud83d\udd39 Short Description:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The F1 Score combines precision and recall into a single metric to evaluate classification models, especially when classes are imbalanced.<\/span><\/p>\n<p><b>\ud83d\udd39 Description (Plain Text):<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>F1 Score formula<\/b><span style=\"font-weight: 400;\"> is a widely used metric that brings <\/span><b>precision<\/b><span style=\"font-weight: 400;\"> and <\/span><b>recall<\/b><span style=\"font-weight: 400;\"> together into a single harmonic mean. It provides a balanced measure that considers both false positives and false negatives, making it incredibly useful in <\/span><b>imbalanced datasets<\/b><span style=\"font-weight: 400;\"> where accuracy can be misleading.<\/span><\/p>\n<p><b>Formula:<\/b><b><br \/>\n<\/b> <b>F1 Score = 2 \u00d7 (Precision \u00d7 Recall) \/ (Precision + Recall)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">This formula ensures that both precision and recall have equal influence on the final score. If either precision or recall is low, the F1 Score will also be low. This makes it a reliable metric when you care about both <\/span><b>catching positives<\/b><span style=\"font-weight: 400;\"> (recall) and <\/span><b>not raising too many false alarms<\/b><span style=\"font-weight: 400;\"> (precision).<\/span><\/p>\n<p><b>Example:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Let\u2019s say a fraud detection model has:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Precision = 0.80<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Recall = 0.60<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Then:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\"> F1 Score = 2 \u00d7 (0.80 \u00d7 0.60) \/ (0.80 + 0.60) = <\/span><b>0.6857 or ~69%<\/b><\/p>\n<p><b>Why F1 Score Matters:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> While precision tells you <\/span><b>how many of your positive predictions were correct<\/b><span style=\"font-weight: 400;\">, and recall tells you <\/span><b>how many actual positives you found<\/b><span style=\"font-weight: 400;\">, the F1 Score answers the more balanced question: <\/span><b>How good is your model at finding positive cases and being right about them?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">It is especially useful in domains where both types of errors (false positives and false negatives) are <\/span><b>costly<\/b><span style=\"font-weight: 400;\">, or when class distribution is <\/span><b>heavily skewed<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Real-World Applications:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Healthcare<\/b><span style=\"font-weight: 400;\">: Balancing false alarms and missed diagnoses<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Email spam detection<\/b><span style=\"font-weight: 400;\">: Avoiding both spam leakage and false positives<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Fraud detection<\/b><span style=\"font-weight: 400;\">: Spotting actual fraud while minimizing unnecessary alerts<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Information retrieval<\/b><span style=\"font-weight: 400;\">: Ensuring returned results are relevant and complete<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Customer churn prediction<\/b><span style=\"font-weight: 400;\">: Accurately identifying who\u2019s likely to leave<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<\/ul>\n<p><b>Key Insights:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">F1 Score is the <\/span><b>harmonic mean<\/b><span style=\"font-weight: 400;\"> of precision and recall<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A perfect F1 Score is 1.0 (100%), meaning perfect precision and recall<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A low F1 Score means the model is weak in either recall, precision, or both<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Excellent for comparing models where <\/span><b>accuracy alone is misleading<\/b><b>\n<p><\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Often used in competitions like Kaggle, benchmarks, and industrial evaluations<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<\/ul>\n<p><b>Limitations:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Doesn\u2019t consider <\/span><b>true negatives<\/b><span style=\"font-weight: 400;\">, so it\u2019s not a complete measure<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">May be too simplistic for highly nuanced classification tasks<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Doesn\u2019t distinguish between the <\/span><b>importance<\/b><span style=\"font-weight: 400;\"> of precision vs recall unless weighted<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Not always ideal when the cost of false negatives and false positives differs significantly<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The F1 Score is your <\/span><b>go-to metric<\/b><span style=\"font-weight: 400;\"> when you&#8217;re facing <\/span><b>imbalanced datasets<\/b><span style=\"font-weight: 400;\"> and want a single, reliable number to judge model performance. It&#8217;s widely adopted across industries for its <\/span><b>fairness, simplicity, and clarity<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>\ud83d\udd39 Meta Title:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> F1 Score Formula \u2013 The Balanced Metric for Smarter Classification Evaluation<\/span><\/p>\n<p><b>\ud83d\udd39 Meta Description:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Discover the F1 Score formula and how it balances precision and recall to evaluate classification performance. Learn when and why to use F1 Score in fraud detection, healthcare, and imbalanced datasets for more accurate model assessment.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd39 Short Description: The F1 Score combines precision and recall into a single metric to evaluate classification models, especially when classes are imbalanced. \ud83d\udd39 Description (Plain Text): The F1 Score <span class=\"readmore\"><a href=\"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/\">Read More &#8230;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3989","post","type-post","status-publish","format-standard","hentry","category-infographics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog\" \/>\n<meta property=\"og:description\" content=\"\ud83d\udd39 Short Description: The F1 Score combines precision and recall into a single metric to evaluate classification models, especially when classes are imbalanced. \ud83d\udd39 Description (Plain Text): The F1 Score Read More ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/\" \/>\n<meta property=\"og:site_name\" content=\"Uplatz Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Uplatz-1077816825610769\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-24T13:33:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"uplatzblog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@uplatz_global\" \/>\n<meta name=\"twitter:site\" content=\"@uplatz_global\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"uplatzblog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/\"},\"author\":{\"name\":\"uplatzblog\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#\\\/schema\\\/person\\\/8ecae69a21d0757bdb2f776e67d2645e\"},\"headline\":\"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric\",\"datePublished\":\"2025-07-24T13:33:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/\"},\"wordCount\":462,\"publisher\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Z-Score-1.jpg\",\"articleSection\":[\"Infographics\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/\",\"url\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/\",\"name\":\"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Z-Score-1.jpg\",\"datePublished\":\"2025-07-24T13:33:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#primaryimage\",\"url\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Z-Score-1.jpg\",\"contentUrl\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Z-Score-1.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/f1-score-formula-balancing-precision-and-recall-in-one-metric\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/\",\"name\":\"Uplatz Blog\",\"description\":\"Uplatz is a global IT Training &amp; Consulting company\",\"publisher\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#organization\",\"name\":\"uplatz.com\",\"url\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/Uplatz-Logo-Copy-2.png\",\"contentUrl\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/Uplatz-Logo-Copy-2.png\",\"width\":1280,\"height\":800,\"caption\":\"uplatz.com\"},\"image\":{\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Uplatz-1077816825610769\\\/\",\"https:\\\/\\\/x.com\\\/uplatz_global\",\"https:\\\/\\\/www.instagram.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/7956715?trk=tyah&amp;amp;amp;amp;trkInfo=clickedVertical:company,clickedEntityId:7956715,idx:1-1-1,tarId:1464353969447,tas:uplatz\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/uplatz.com\\\/blog\\\/#\\\/schema\\\/person\\\/8ecae69a21d0757bdb2f776e67d2645e\",\"name\":\"uplatzblog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g\",\"caption\":\"uplatzblog\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/","og_locale":"en_US","og_type":"article","og_title":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog","og_description":"\ud83d\udd39 Short Description: The F1 Score combines precision and recall into a single metric to evaluate classification models, especially when classes are imbalanced. \ud83d\udd39 Description (Plain Text): The F1 Score Read More ...","og_url":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/","og_site_name":"Uplatz Blog","article_publisher":"https:\/\/www.facebook.com\/Uplatz-1077816825610769\/","article_published_time":"2025-07-24T13:33:23+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg","type":"image\/jpeg"}],"author":"uplatzblog","twitter_card":"summary_large_image","twitter_creator":"@uplatz_global","twitter_site":"@uplatz_global","twitter_misc":{"Written by":"uplatzblog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#article","isPartOf":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/"},"author":{"name":"uplatzblog","@id":"https:\/\/uplatz.com\/blog\/#\/schema\/person\/8ecae69a21d0757bdb2f776e67d2645e"},"headline":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric","datePublished":"2025-07-24T13:33:23+00:00","mainEntityOfPage":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/"},"wordCount":462,"publisher":{"@id":"https:\/\/uplatz.com\/blog\/#organization"},"image":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#primaryimage"},"thumbnailUrl":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg","articleSection":["Infographics"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/","url":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/","name":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric | Uplatz Blog","isPartOf":{"@id":"https:\/\/uplatz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#primaryimage"},"image":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#primaryimage"},"thumbnailUrl":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg","datePublished":"2025-07-24T13:33:23+00:00","breadcrumb":{"@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#primaryimage","url":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg","contentUrl":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2025\/07\/Z-Score-1.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/uplatz.com\/blog\/f1-score-formula-balancing-precision-and-recall-in-one-metric\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/uplatz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"F1 Score Formula \u2013 Balancing Precision and Recall in One Metric"}]},{"@type":"WebSite","@id":"https:\/\/uplatz.com\/blog\/#website","url":"https:\/\/uplatz.com\/blog\/","name":"Uplatz Blog","description":"Uplatz is a global IT Training &amp; Consulting company","publisher":{"@id":"https:\/\/uplatz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uplatz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/uplatz.com\/blog\/#organization","name":"uplatz.com","url":"https:\/\/uplatz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uplatz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2016\/11\/Uplatz-Logo-Copy-2.png","contentUrl":"https:\/\/uplatz.com\/blog\/wp-content\/uploads\/2016\/11\/Uplatz-Logo-Copy-2.png","width":1280,"height":800,"caption":"uplatz.com"},"image":{"@id":"https:\/\/uplatz.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Uplatz-1077816825610769\/","https:\/\/x.com\/uplatz_global","https:\/\/www.instagram.com\/","https:\/\/www.linkedin.com\/company\/7956715?trk=tyah&amp;amp;amp;amp;trkInfo=clickedVertical:company,clickedEntityId:7956715,idx:1-1-1,tarId:1464353969447,tas:uplatz"]},{"@type":"Person","@id":"https:\/\/uplatz.com\/blog\/#\/schema\/person\/8ecae69a21d0757bdb2f776e67d2645e","name":"uplatzblog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7f814c72279199f59ded4418a8653ad15f5f8904ac75e025a4e2abe24d58fa5d?s=96&d=mm&r=g","caption":"uplatzblog"}}]}},"_links":{"self":[{"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/posts\/3989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/comments?post=3989"}],"version-history":[{"count":1,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/posts\/3989\/revisions"}],"predecessor-version":[{"id":3991,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/posts\/3989\/revisions\/3991"}],"wp:attachment":[{"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/media?parent=3989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/categories?post=3989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uplatz.com\/blog\/wp-json\/wp\/v2\/tags?post=3989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}