-
Notifications
You must be signed in to change notification settings - Fork 4
/
day_3.Rmd
executable file
·80 lines (56 loc) · 1.95 KB
/
day_3.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
title: "Day 3: Differential equations, intro to linear algebra"
description: |
Differential equations, using them, integration concepts & basics
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
**NOTE: Wednesday 10:00am late start!**
## Day 3 Part 1:
### Morning lecture:
**[Lecture 3A Slides - PDF]()**
- Intro to differential equations
- Differential equations in environmental data science
- Numerical solutions
```{r, echo = FALSE}
xaringanExtra::embed_xaringan(
url = "slides/EDS_212_day-3-part-1-slides.html",
ratio = "16:9",
border = "1px solid gainsboro"
)
```
### Morning interactive session
**[Interactive Session 3A handout](comp_session_keys/comp_session_3a.html)**
- Numerical solutions to differential equations
- Approximating solutions to the Lotke-Volterra equations in R
## Day 3 Part 2: Basic linear algebra for data science
**[Lecture 3B Slides - PDF]()**
- Language & shapes in linear algebra
- Basic operations
- How this translates to data structures & working with them
```{r, echo = FALSE}
xaringanExtra::embed_xaringan(
url = "slides/EDS_212_day-3-part-2-slides.html",
ratio = "16:9",
border = "1px solid gainsboro"
)
```
### Afternoon interactive session
**[Interactive Session 3B handout](comp_session_keys/comp_session_3b.html)**
- Scalars, vectors, matrices, oh my!
- Basic inear algebra operations in R & Py
- Vector & matrix addition and subtraction
- Scalar multiplication
- Dot products
- Matrix multiplication
## Day 3 Tasks and Activities
[Day 3 Tasks - Handout]()
See also: https://nwfsc-timeseries.github.io/atsa-labs/sec-basicmat-create.html
## Efficiency tips
*Inspired by Dr. Julia Lowndes' [Openscapes](openscapes.org) program.*
- `Cmd + C` (Mac) or `Ctrl + C` (PC): Copy
- `Cmd + X` (Mac) or `Ctrl + X` (PC): Cut
- `Cmd + V` (Mac) or `Ctrl + V` (PC): Paste
- `Cmd + Z` (Mac) or `Ctrl + Z`: Undo last
- `Cmd + Shift + Z` (Mac) or `Ctrl + Shift + Z` (PC): Redo last undo