Skip to content

Commit fccb9a9

Browse files
committed
formating
1 parent 9ec247d commit fccb9a9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ It ends with applying gaussian mixture models (gmm) and the expectation-maximiza
1111
Implement functions to compute sample mean and the standard deviation.
1212
1. Use
1313

14-
$$ \hat{\mu} = \frac{1}{n} \sum_{i=1}^n x_i , $$
14+
$$ \hat{\mu} = \frac{1}{n} \sum_{i=1}^n x_i , $$
1515

16-
to calculate the mean.
16+
to calculate the mean.
1717

1818
2. Use
1919

20-
$$ \hat{\sigma} = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \hat{\mu})^2} $$
20+
$$ \hat{\sigma} = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \hat{\mu})^2} $$
21+
22+
to compute the standard deviation.
2123

22-
to compute the standard deviation.
2324
$x_i \in \mathbb{R}$ for $i \in \{1, ... , n\}$ denotes individual sample elements, and $n \in \mathbb{N}$ the size of the sample.
2425
Don't use the pre-build functions np.mean() or np.std() to solve these tasks.
2526

0 commit comments

Comments
 (0)