Skip to content

Commit a0e5f31

Browse files
authored
typo in the formula of alpha
there is either a mistake at this line or later in the code ``` alpha = len(X_training)/len(X_raw) ```
1 parent ff7a52f commit a0e5f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/content/query_strategies/ranked_batch_mode.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"\n",
1919
"$$score = \\alpha(1 - \\Phi(x, X_{labeled})) + (1 - \\alpha) U(x),$$\n",
2020
"\n",
21-
"where $\\alpha = \\frac{|X_{unlabeled}|}{|X_{unlabeled}| + |X_{labeled}|}$, $X_{labeled}$ is the labeled dataset, $U(x)$ is the uncertainty of predictions for $x$, and $\\Phi$ is a so-called similarity function, for instance [cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity). This latter function measures how well the feature space is explored near $x$. (The lower the better.)\n",
21+
"where $\\alpha = \\frac{|X_{labeled}|}{|X_{unlabeled}| + |X_{labeled}|}$, $X_{labeled}$ is the labeled dataset, $U(x)$ is the uncertainty of predictions for $x$, and $\\Phi$ is a so-called similarity function, for instance [cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity). This latter function measures how well the feature space is explored near $x$. (The lower the better.)\n",
2222
"\n",
2323
"After scoring, the highest scored instance is put at the top of a list. The instance is removed from the pool and the score is recalculated until the desired amount of instances are selected."
2424
]

0 commit comments

Comments
 (0)