marp | paginate |
---|---|
true |
true |
- have a brief introduction on AI and ML
- basic concept of machine learning
- main algorithm
- supervised
regression
- classification
- unsupervised
- supervised
- Learn to implement linear
regression
Subfield of AI in order to make intelligent machine
Field of study that gives the computers the ability to learn without
explicitly
programmed
- Arthur samuel
1959
- learn from being given right answers
- correct pairs of input (x) and output (y)
input | output | application |
---|---|---|
spam?(0,1) | ||
audio | text transcript | |
English | Spanish | |
ad-User | click?(0,1) | |
image-radar | position of other car | |
image of phone | defect?(0,1) |
predict a number
from
infinitely many possible outputs
many inputs
some outputs called categories
Size | diagnosis |
---|---|
6 | 1 |
8 | 1 |
2 | 0 |
5 | 0 |
1 | 0 |
7 | 1 |
5.6 | 1 |
12 | 1 |
3.5 | 0 |
In every living man a child is hidden that wants to play
- Clustering
- anomaly detection
- Dimensionality reduction
$$
f_{w,b}(x) = wx + b
$$
w , b > parameters , weight x > single feature
where
m = number of example
$$ \newline
\begin{align*} \text{repeat}&\text{ until convergence:} ; \lbrace \newline ; w &= w - \alpha \frac{\partial }{\partial w} J(w,b) ; \newline \newline b &= b - \alpha \frac{\partial }{\partial b} J(w,b) \newline \rbrace \end{align*}$$
- step 1
- read our data
- step 2
- write our functions
- calculate yHat
- calculate cost
- calculate gradient
- implement gradient descent
- write our functions
- step 3
- congratulations