diff --git a/AI/Classification/Classification.md b/AI/Classification/Classification.md new file mode 100644 index 0000000..05c7b8f --- /dev/null +++ b/AI/Classification/Classification.md @@ -0,0 +1,34 @@ +*Given an observation, determine one class from a set of classes that best explains the observation* + +***Features are discrete or continuous*** + +- 2 category classifier + - Dichotomiser + +# Argmax +Argument that gives the maximum value from a target function + +# Gaussian Classifier +[Training](Supervised.md) +- Each class $i$ has it's own Gaussian $N_i=N(m_i,v_i)$ + +$$\hat i=\text{argmax}_i\left(p(o_t|N_i)\cdot P(N_i)\right)$$ +$$\hat i=\text{argmax}_i\left(p(o_t|N_i)\right)$$ +- With equal priors + +![](../../img/gaussian-class.png) + +# Discrete Classifier +- Each class $i$ has it's own histogram $H_i$ + - Describes the probability of each observation type $k$ + - $P(o_t=k|H_i)$, based on class-specific type counts + +$$\hat i=\text{argmax}_i\left(P(o_t=k|H_i)\right)$$ +- Nothing else known about classes + +$$\hat i=\text{argmax}_i\left(P(o_t=k|H_i)\cdot P(H_i)\right)$$ +- Given class priors $P(H_i)$ +- Maximum posterior probability + - Bayes + +![](../../img/coordinate-change.png) \ No newline at end of file diff --git a/AI/Classification/README.md b/AI/Classification/README.md new file mode 120000 index 0000000..bccaef6 --- /dev/null +++ b/AI/Classification/README.md @@ -0,0 +1 @@ +Classification.md \ No newline at end of file diff --git a/AI/Classification/Supervised.md b/AI/Classification/Supervised.md new file mode 100644 index 0000000..4deb7d3 --- /dev/null +++ b/AI/Classification/Supervised.md @@ -0,0 +1,5 @@ + +# Gaussian Classifier +- With $T$ labelled data + +$$q_t(i)=$$ \ No newline at end of file diff --git a/AI/Neural Networks/CNN/Examples.md b/AI/Neural Networks/CNN/Examples.md index aff6269..87ed0e7 100644 --- a/AI/Neural Networks/CNN/Examples.md +++ b/AI/Neural Networks/CNN/Examples.md @@ -33,7 +33,7 @@ ![googlenet](../../../img/googlenet.png) -## [[Inception Layer]] +## [Inception Layer](Inception%20Layer.md) ![googlenet-inception](../../../img/googlenet-inception.png) ## Auxiliary [[Deep Learning#Loss Function|Loss]] Functions - Two other SoftMax blocks diff --git a/AI/Neural Networks/CNN/FCN/FCN.md b/AI/Neural Networks/CNN/FCN/FCN.md index 22ee0f3..74610a3 100644 --- a/AI/Neural Networks/CNN/FCN/FCN.md +++ b/AI/Neural Networks/CNN/FCN/FCN.md @@ -3,7 +3,7 @@ Fully [[Convolution]]al Network [[Convolutional Layer|Convolutional]] and [[UpConv|up-convolutional layers]] with [[Activation Functions#ReLu|ReLu]] but no others (pooling) - All some sort of Encoder-Decoder -Contractive → [[UpConv]] +Contractive → [UpConv](../UpConv.md) # Image Segmentation - For visual output @@ -29,7 +29,7 @@ Contractive → [[UpConv]] - Can use summed per-pixel log [[Deep Learning#Loss Function|loss]] # Evaluation -![[fcn-eval.png]] +![fcn-eval](../../../../img/fcn-eval.png) - SDS - Classical method - 52% mAP diff --git a/AI/Neural Networks/CNN/FCN/FlowNet.md b/AI/Neural Networks/CNN/FCN/FlowNet.md index a3c44dc..4148ae9 100644 --- a/AI/Neural Networks/CNN/FCN/FlowNet.md +++ b/AI/Neural Networks/CNN/FCN/FlowNet.md @@ -3,9 +3,9 @@ Optical Flow - 2-Channel optical flow - $dx,dy$ - Two consecutive frames - - 6-channel [[tensor]] + - 6-channel [tensor](../../../../Maths/Tensor.md) -![[flownet.png]] +![flownet](../../../../img/flownet.png) # [[Skip Connections]] - Further through the network information is condensed @@ -14,13 +14,13 @@ Optical Flow - Append activation maps from encoder to decoder # Encode -![[flownet-encode.png]] +![flownet-encode](../../../../img/flownet-encode.png) # [[Upconv]] -![[flownet-upconv.png]] +![flownet-upconv](../../../../img/flownet-upconv.png) # Training - Synthetic rendered objects - Real background images -![[flownet-training.png]] \ No newline at end of file +![flownet-training](../../../../img/flownet-training.png) \ No newline at end of file diff --git a/AI/Neural Networks/CV/Filters.md b/AI/Neural Networks/CV/Filters.md index c42ecff..d405029 100644 --- a/AI/Neural Networks/CV/Filters.md +++ b/AI/Neural Networks/CV/Filters.md @@ -1,2 +1,2 @@ # Gabor -![[gabor.png]] \ No newline at end of file +![gabor](../../../img/gabor.png) \ No newline at end of file diff --git a/img/coordinate-change.png b/img/coordinate-change.png new file mode 100644 index 0000000..9467f62 Binary files /dev/null and b/img/coordinate-change.png differ diff --git a/img/gaussian-class.png b/img/gaussian-class.png new file mode 100644 index 0000000..60354d1 Binary files /dev/null and b/img/gaussian-class.png differ