AI 101
|
|
|
| (0,0) | (0,1) | (0,2) |
| (1,0) | (1,1) | (1,2) |
| (2,0) | (2,1) | (2,2) |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 0 |
| 0 | 0 | 1 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
\[ \sum_{i=1}^n i = \frac{n(n+1)}{2} \]
Note
This is superficially similar to the pixel values for a die showing 1, but it’s meaning is distinct.
Previously, we showed what dots are present on a die representing one.
Here, we show what dots matter when determining is a die is even or odd.
| Senator | Feature: State | Feature: Vote Record | Classifier Output |
|---|---|---|---|
| Wyden | OR | Capitalist | Democrat |
| Crapo | ID | Capitalist | Republican |
If you will allow me to editorialize (you shouldn’t), state determines party affiliation but nothing determines support for e.g. US military actions or tax breaks for the wealthy.
It is the foundation of all AI logic.
\[\sum_{i=1}^{n} w_i x_i = w_1 x_1 + w_2 x_2 + \dots + w_n x_n\]
$$ means “this is a mathematical formula”_ and enclosed in {}^ - and may be combined with subscripts!{} are optional for single characters.\[\sum_{i=1}^{n} w_i x_i + b \]
\[f(x) = \begin{cases} 1 & \text{if } \sum w_i x_i + b > 0 \\ 0 & \text{otherwise} \end{cases}\]
\[ f(x) = \begin{cases} 0 & x \leq 0 \\ 1 & x > 0 \end{cases} \]
| Income Range | Tax Rate |
|---|---|
| $0 – $10,000 | 10% |
| $10,001 – $45,000 | 15% |
| $45,001 – $95,000 | 25% |
You can think of each tax bracket as a neuron with a different Bias.
$\mathbb{1}$ - start math, make blackboard bold, apply to 1, end math,\[ \mathbb{1}_{A}(x) = \begin{cases} 1 & x \in A \\ 0 & x \notin A \end{cases} \]
When we detect an “Odd” die face, we are running an Indicator Function.
$\LaTeX\[ z = \sum_{i=1}^{n} w_i x_i + b \]
This is the standard way to express the “weighted sum plus bias.”