You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1.2.Regression.with.Multiple.Input.Variables.md
+24-27Lines changed: 24 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,10 @@
1
-
###C1_W2: Regression with Multiple Input Variables
1
+
# C1_W2: Regression with Multiple Input Variables
2
2
3
-
This week, you'll extend linear regression to handle multiple input features.
4
-
You'll also learn some methods for improving your model's training and performance, such as _vectorization_, _feature scaling_, _feature engineering_ and _polynomial regression_.
5
-
At the end of the week, you'll get to practice
6
-
implementing linear regression in code.
3
+
This week, you'll extend linear regression to handle multiple input features. You'll also learn some methods for improving your model's training and performance, such as _vectorization_, _feature scaling_, _feature engineering_ and _polynomial regression_. At the end of the week, you'll get to practice implementing linear regression in code.
7
4
8
-
####C1_W2_M1 Multiple Linear Regression
5
+
## C1_W2_M1 Multiple Linear Regression
9
6
10
-
#####C1_W2_M1_1 Multiple features
7
+
### C1_W2_M1_1 Multiple features
11
8
12
9

13
10
-$\vec{x}^{(i)}$= __vector__ of 4 parameters for$i^{th}$row
@@ -27,13 +24,13 @@ implementing linear regression in code.
27
24
- this is __multiple linear regression__
28
25
-__Not___multivariate regression_
29
26
30
-
######Quiz
27
+
#### Quiz
31
28
32
29
In the training set below (see slide: C1_W2_M1_1 Multiple features), what is$x_{1}^{(4)} $?
33
30
34
31
<details><summary>Ans</summary>852</details>
35
32
36
-
#####C1_W2_M1_2 Vectorization part 1
33
+
### C1_W2_M1_2 Vectorization part 1
37
34
38
35
Learning to write __vectorized code__ allows you to take advantage of modern
39
36
numberical linear algebra libraries, as well as maybe GPU hardware.
@@ -46,7 +43,7 @@ numberical linear algebra libraries, as well as maybe GPU hardware.
46
43
- Vectorization has 2 benefits: _concise and efficient_
47
44
-`np.dot` can use parallel hardware
48
45
49
-
#####C1_W2_M1_3 Vectorization part 2
46
+
### C1_W2_M1_3 Vectorization part 2
50
47
51
48
How does vectorized algorithm works...
52
49
@@ -58,14 +55,14 @@ How does vectorized algorithm works...
0 commit comments