Skip to content
Snippets Groups Projects
Commit 5f84e00b authored by Julien Michel's avatar Julien Michel
Browse files

DOC: Fixing formulas

parent 1e85b28a
No related branches found
No related tags found
No related merge requests found
......@@ -235,9 +235,9 @@ image.
class required)
- *Mode = proportional:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = M * T_i( c ) / sum_k( T_k(c) )`
:math:`N_i( c ) = \frac{M * T_i( c )}{sum_k( T_k(c)}`
- *Mode = equal:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = M / L`
:math:`N_i( c ) = \frac{M}{L}`
- *Mode = custom:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = M_i` where :math:`M_i` is the custom requested number of samples
for image i
......@@ -246,28 +246,30 @@ image.
class c)
- *Mode = proportional:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = M(c) * T_i( c ) / sum_k( T_k(c) )`
:math:`N_i( c ) = M(c) * \frac{T_i( c )}{sum_k( T_k(c))}`
- *Mode = equal:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = M(c) / L`
:math:`N_i( c ) = \frac{M(c)}{L}`
- *Mode = custom:* For each image :math:`i` and each class :math:`c`,
:math:`Ni( c ) = M_i(c)` where :math:`M_i(c)` is the custom requested number of
samples for each image :math:`i` and each class :math:`c`
* **Strategy = percent**
- *Mode = proportional:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = p * T_i(c)` where :math:`p` is the user-defined percentage
- *Mode = equal:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = p * sum_k(Tk(c)]/L` where :math:`p` is the user-defined percentage
:math:`N_i( c ) = p * \frac{sum_k(Tk(c))}{L}` where :math:`p` is the user-defined percentage
- *Mode = custom:* For each image :math:`i` and each class :math:`c`,
:math:`Ni( c ) = p(i) * T_i(c)` where :math:`p(i)` is the user-defined percentage for image :math:`i`
* **Strategy = total**
- *Mode = proportional:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = total * (sum_k(Ti(k))/sum_kl(Tl(k))) * (Ti(c)/sum_k(Ti(k)))` where :math:`total` is the total number of samples specified
:math:`N_i( c ) = total * (\frac{sum_k(Ti(k))}{sum_kl(Tl(k))}) * (\frac{Ti(c)}{sum_k(Ti(k))})` where :math:`total` is the total number of samples specified
- *Mode = equal:* For each image :math:`i` and each class :math:`c`,
:math:`N_i( c ) = (total / L) * (Ti(c)/sum_k(Ti(k)))` where :math:`total` is the total number of samples specified
:math:`N_i( c ) = (total / L) * (\frac{Ti(c)}{sum_k(Ti(k))})` where :math:`total` is the total number of samples specified
- *Mode = custom:* For each image :math:`i` and each class :math:`c`,
:math:`Ni( c ) = total(i) * (Ti(c)/sum_k(Ti(k)))` where :math:`total(i)` is the total number of samples specified for image :math:`i`
:math:`Ni( c ) = total(i) * (\frac{Ti(c)}{sum_k(Ti(k))})` where :math:`total(i)` is the total number of samples specified for image :math:`i`
* **Strategy = smallest class**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment