Typewind

Coraje y Corazón


  • Home

  • About

  • Archives

  • Tags

  • Books

  • Games

L2 Normalisation

Posted on 2017-03-20 |

L2 norm is $$ L{2}=\sqrt {\sum{1}^{i} (x_i^2)} $$
For example, if x = (1,-1,2) the L2 norm of x is $$\sqrt{(1+1+4)} = \sqrt{6} $$

By dividing x’s each element from L2 we normalise x into unit L2
$$ \frac{x{i}}{L{2}}, \forall x $$
For example after normalisation, $$ x=(\frac{1}{\sqrt{6}},\frac{-1}{\sqrt{6}}, \frac{2}{\sqrt{6}}) $$

# Data Mining
Sparse Matrix (CSR Model)
2 Methods of Calulating the Distance between 2 Vectors
Shuyao Chen

Shuyao Chen

Computer Science, Football and ACG

69 posts
89 tags
Weibo Twitter Linkedin
Total Visitor:
© 2022 Shuyao Chen
Powered by Hexo
Theme - NexT.Mist