AI 101
import numpy as np
multi = np.array([
[-1/1, -1/1, -1/1, -1/1, 1/1, -1/1, -1/1, -1/1, -1/1],
[-1/2, -1/2, 1/2, -1/2, -1/2, -1/2, 1/2, -1/2, -1/2],
[-1/3, -1/3, 1/3, -1/3, 1/3, -1/3, 1/3, -1/3, -1/3],
[ 1/4, -1/4, 1/4, -1/4, -1/4, -1/4, 1/4, -1/4, 1/4],
[ 1/5, -1/5, 1/5, -1/5, 1/5, -1/5, 1/5, -1/5, 1/5],
[ 0/6, 3/6, 0/6, 3/6, -6/6, 3/6, 0/6, 3/6, 0/6],
])[0,0,1,0,1,0,1,0,0][1,0,0,0,1,0,0,0,1]| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 1 |
1for loop
multi as a \(6 \times 9\)…array([[-1. , -1. , -1. , -1. , 1. ,
-1. , -1. , -1. , -1. ],
[-0.5 , -0.5 , 0.5 , -0.5 , -0.5 ,
-0.5 , 0.5 , -0.5 , -0.5 ],
[-0.33333333, -0.33333333, 0.33333333, -0.33333333, 0.33333333,
-0.33333333, 0.33333333, -0.33333333, -0.33333333],
[ 0.25 , -0.25 , 0.25 , -0.25 , -0.25 ,
-0.25 , 0.25 , -0.25 , 0.25 ],
[ 0.2 , -0.2 , 0.2 , -0.2 , 0.2 ,
-0.2 , 0.2 , -0.2 , 0.2 ],
[ 0. , 0.5 , 0. , 0.5 , -1. ,
0.5 , 0. , 0.5 , 0. ]])
array([[-1. , -0.5 , -0.33333333, 0.25 , 0.2 ,
0. ],
[-1. , -0.5 , -0.33333333, -0.25 , -0.2 ,
0.5 ],
[-1. , 0.5 , 0.33333333, 0.25 , 0.2 ,
0. ],
[-1. , -0.5 , -0.33333333, -0.25 , -0.2 ,
0.5 ],
[ 1. , -0.5 , 0.33333333, -0.25 , 0.2 ,
-1. ],
[-1. , -0.5 , -0.33333333, -0.25 , -0.2 ,
0.5 ],
[-1. , 0.5 , 0.33333333, 0.25 , 0.2 ,
0. ],
[-1. , -0.5 , -0.33333333, -0.25 , -0.2 ,
0.5 ],
[-1. , -0.5 , -0.33333333, 0.25 , 0.2 ,
0. ]])
() at the end because it is an action (a verb)@ to “matrix multiply” the dice times the classifier!sum and for



12@1 (or some other bias) to determine activation.int by the next layer.[0 0] [False False]
[0 1] [ True True]
[1 0] [ True True]
[1 1] [ True False]