Difference between revisions of "Math for Intelligence"

From
Jump to: navigation, search
(Dot Product Explained)
m
Line 54: Line 54:
 
<youtube>pYxNSUDSFH4</youtube>
 
<youtube>pYxNSUDSFH4</youtube>
  
== Quantum Algorithm ==
 
<youtube>LhtnECml-KI</youtube>
 
  
 
== Dot Product ==
 
== Dot Product ==
Line 71: Line 69:
 
http://3qeqpr26caki16dnhd19sv6by6v-wpengine.netdna-ssl.com/wp-content/uploads/2017/12/Depection-of-Matrix-Multiplication.png
 
http://3qeqpr26caki16dnhd19sv6by6v-wpengine.netdna-ssl.com/wp-content/uploads/2017/12/Depection-of-Matrix-Multiplication.png
 
http://betterexplained.com/wp-content/uploads/crossproduct/cross-product-grid.png
 
http://betterexplained.com/wp-content/uploads/crossproduct/cross-product-grid.png
 +
 +
== Quantum Algorithm ==
 +
<youtube>LhtnECml-KI</youtube>

Revision as of 07:45, 9 December 2018

YouTube search...

3blue1brown

Explained


Siraj Raval

Josh Starmer - StatQuest


Dot Product

Dot Product =

  • Algebraically, the dot product is the sum of the products of the corresponding entries of the two sequences of numbers.
  • Geometrically, it is the product of the Euclidean magnitudes of the two vectors and the cosine of the angle between them.

convolution_schematic.gif

Take a moment to understand how the computation above is being done. We slide the orange matrix over our original image (green) by 1 pixel (also called ‘stride’) and for every position, we compute element wise multiplication (between the two matrices) and add the multiplication outputs to get the final integer which forms a single element of the output matrix (pink). Note that the 3×3 matrix “sees” only a part of the input image in each stride. In CNN terminology, the 3×3 matrix is called a ‘filter‘ or ‘kernel’ or ‘feature detector’ and the matrix formed by sliding the filter over the image and computing the dot product is called the ‘Convolved Feature’ or ‘Activation Map’ or the ‘Feature Map‘. It is important to note that filters acts as feature detectors from the original input image. | ujjwalkarn

Depection-of-Matrix-Multiplication.png cross-product-grid.png

Quantum Algorithm