<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://qbase.texpertssolutions.com/index.php?action=history&amp;feed=atom&amp;title=Micro_F1_Score</id>
	<title>Micro F1 Score - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qbase.texpertssolutions.com/index.php?action=history&amp;feed=atom&amp;title=Micro_F1_Score"/>
	<link rel="alternate" type="text/html" href="https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;action=history"/>
	<updated>2026-06-29T00:02:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=215&amp;oldid=prev</id>
		<title>Thakshashila: /* SEO Keywords */</title>
		<link rel="alternate" type="text/html" href="https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=215&amp;oldid=prev"/>
		<updated>2025-06-10T06:23:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;SEO Keywords&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:23, 10 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;micro f1 score, f1 score for multi-class classification, machine learning evaluation metrics, micro average f1, macro vs micro f1, multi-label classification f1 score, f1 score imbalance&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;micro f1 score, f1 score for multi-class classification, machine learning evaluation metrics, micro average f1, macro vs micro f1, multi-label classification f1 score, f1 score imbalance&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Artificial Intelligence]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thakshashila</name></author>
	</entry>
	<entry>
		<id>https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=182&amp;oldid=prev</id>
		<title>Thakshashila: /* Related Pages */</title>
		<link rel="alternate" type="text/html" href="https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=182&amp;oldid=prev"/>
		<updated>2025-06-10T05:49:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Related Pages&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:49, 10 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[F1 Score]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[F1 Score]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Macro F1 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Score&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Macro F1 ]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Weighted F1 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Score&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Weighted F1]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Precision]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Precision]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Recall]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Recall]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thakshashila</name></author>
	</entry>
	<entry>
		<id>https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=165&amp;oldid=prev</id>
		<title>Thakshashila: Created page with &quot;= Micro F1 Score =  The &#039;&#039;&#039;Micro F1 Score&#039;&#039;&#039; is an evaluation metric used primarily in &#039;&#039;&#039;multi-class&#039;&#039;&#039; and &#039;&#039;&#039;multi-label classification&#039;&#039;&#039; tasks. Unlike Macro F1 Score, it calculates global counts of true positives, false positives, and false negatives across all classes, then uses these to compute a single Precision, Recall, and F1 Score.  It is most useful when the dataset is &#039;&#039;&#039;imbalanced&#039;&#039;&#039; and you care more about overall performance than per-class fai...&quot;</title>
		<link rel="alternate" type="text/html" href="https://qbase.texpertssolutions.com/index.php?title=Micro_F1_Score&amp;diff=165&amp;oldid=prev"/>
		<updated>2025-06-10T05:26:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Micro F1 Score =  The &amp;#039;&amp;#039;&amp;#039;Micro F1 Score&amp;#039;&amp;#039;&amp;#039; is an evaluation metric used primarily in &amp;#039;&amp;#039;&amp;#039;multi-class&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;multi-label classification&amp;#039;&amp;#039;&amp;#039; tasks. Unlike &lt;a href=&quot;/index.php?title=Macro_F1_Score&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Macro F1 Score (page does not exist)&quot;&gt;Macro F1 Score&lt;/a&gt;, it calculates global counts of true positives, false positives, and false negatives across all classes, then uses these to compute a single &lt;a href=&quot;/index.php/Precision&quot; title=&quot;Precision&quot;&gt;Precision&lt;/a&gt;, &lt;a href=&quot;/index.php/Recall&quot; title=&quot;Recall&quot;&gt;Recall&lt;/a&gt;, and F1 Score.  It is most useful when the dataset is &amp;#039;&amp;#039;&amp;#039;imbalanced&amp;#039;&amp;#039;&amp;#039; and you care more about overall performance than per-class fai...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Micro F1 Score =&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Micro F1 Score&amp;#039;&amp;#039;&amp;#039; is an evaluation metric used primarily in &amp;#039;&amp;#039;&amp;#039;multi-class&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;multi-label classification&amp;#039;&amp;#039;&amp;#039; tasks. Unlike [[Macro F1 Score]], it calculates global counts of true positives, false positives, and false negatives across all classes, then uses these to compute a single [[Precision]], [[Recall]], and F1 Score.&lt;br /&gt;
&lt;br /&gt;
It is most useful when the dataset is &amp;#039;&amp;#039;&amp;#039;imbalanced&amp;#039;&amp;#039;&amp;#039; and you care more about overall performance than per-class fairness.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro F1} = 2 \cdot \frac{\text{Micro Precision} \cdot \text{Micro Recall}}{\text{Micro Precision} + \text{Micro Recall}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro Precision} = \frac{\sum TP}{\sum TP + \sum FP} &amp;lt;/math&amp;gt;  &lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro Recall} = \frac{\sum TP}{\sum TP + \sum FN} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Instead of averaging individual class scores, Micro F1 aggregates global totals of:&lt;br /&gt;
&lt;br /&gt;
* True Positives (TP)&lt;br /&gt;
* False Positives (FP)&lt;br /&gt;
* False Negatives (FN)&lt;br /&gt;
&lt;br /&gt;
== Step-by-Step Example ==&lt;br /&gt;
&lt;br /&gt;
Suppose a 3-class classification problem with:&lt;br /&gt;
&lt;br /&gt;
* Class A: TP=50, FP=10, FN=5  &lt;br /&gt;
* Class B: TP=30, FP=15, FN=10  &lt;br /&gt;
* Class C: TP=20, FP=5, FN=15  &lt;br /&gt;
&lt;br /&gt;
Global totals:&lt;br /&gt;
* TP = 50 + 30 + 20 = 100  &lt;br /&gt;
* FP = 10 + 15 + 5 = 30  &lt;br /&gt;
* FN = 5 + 10 + 15 = 30&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro Precision} = \frac{100}{100 + 30} = \frac{100}{130} \approx 0.769 &amp;lt;/math&amp;gt;  &lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro Recall} = \frac{100}{100 + 30} = \frac{100}{130} \approx 0.769 &amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \text{Micro F1} = 2 \cdot \frac{0.769 \cdot 0.769}{0.769 + 0.769} = 0.769 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Micro Precision and Recall are equal, so Micro F1 equals them.&lt;br /&gt;
&lt;br /&gt;
== Micro vs Macro vs Weighted F1 ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Metric&lt;br /&gt;
! How It Works&lt;br /&gt;
! Best For&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Micro F1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Global average across all classes (TP, FP, FN summed first)&lt;br /&gt;
| Imbalanced data where you care about overall performance&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Macro F1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Average of F1 scores per class (unweighted)&lt;br /&gt;
| Equal importance for each class&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Weighted F1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Average of F1 scores per class (weighted by class size)&lt;br /&gt;
| Imbalanced data, focus on majority classes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Multi-label text classification&lt;br /&gt;
* Image tagging tasks&lt;br /&gt;
* Medical diagnosis systems with multiple labels&lt;br /&gt;
* Imbalanced datasets with focus on global accuracy&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
* May **hide poor performance** on minority classes&lt;br /&gt;
* Doesn&amp;#039;t reflect per-class fairness&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
&lt;br /&gt;
* [[F1 Score]]&lt;br /&gt;
* [[Macro F1 Score]]&lt;br /&gt;
* [[Weighted F1 Score]]&lt;br /&gt;
* [[Precision]]&lt;br /&gt;
* [[Recall]]&lt;br /&gt;
* [[Accuracy]]&lt;br /&gt;
* [[Confusion Matrix]]&lt;br /&gt;
&lt;br /&gt;
== SEO Keywords ==&lt;br /&gt;
&lt;br /&gt;
micro f1 score, f1 score for multi-class classification, machine learning evaluation metrics, micro average f1, macro vs micro f1, multi-label classification f1 score, f1 score imbalance&lt;/div&gt;</summary>
		<author><name>Thakshashila</name></author>
	</entry>
</feed>