summaryrefslogtreecommitdiff
path: root/tutorials/module_4/3_linear_regression.md
blob: d79c639add27733013a40c977804add5596e9488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Linear Regression

^aab594



## Statistical tools
Numpy comes with some useful statistical tools that we can use to analyze our data.

```python
import numpy as np

mean = np.mean([1, 2, 3, 4, 5])
median = np.median([1, 2, 3, 4, 5])
std = np.std([1, 2, 3, 4, 5])
variance = np.var([1, 2, 3, 4, 5])
```



###