Mercurial > hg > tvii
annotate docs/matrix.txt @ 36:433c475f42db
[documentation] more matrix notes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 04 Sep 2017 14:02:24 -0700 |
parents | 37a9fb876f54 |
children | 59044f78d587 |
rev | line source |
---|---|
35
37a9fb876f54
[documentation] add notes for matrices + vectorization
Jeff Hammel <k0scist@gmail.com>
parents:
diff
changeset
|
1 [| | | ] |
37a9fb876f54
[documentation] add notes for matrices + vectorization
Jeff Hammel <k0scist@gmail.com>
parents:
diff
changeset
|
2 X = [x1 x2 ...xm] |
37a9fb876f54
[documentation] add notes for matrices + vectorization
Jeff Hammel <k0scist@gmail.com>
parents:
diff
changeset
|
3 [| | | ] |
36
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
4 |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
5 Z1 = w'X + b1 |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
6 |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
7 A1 = sigmoid(Z1) |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
8 |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
9 [---] |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
10 W1 = [---] |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
11 [---] |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
12 |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
13 `W1x1` gives some column vector, where `x1` |
433c475f42db
[documentation] more matrix notes
Jeff Hammel <k0scist@gmail.com>
parents:
35
diff
changeset
|
14 is the first training example. |