Learn Before
Concept

Frobenius and L2

In machine learning Frobenius and L2 norms can be used interchangeably. Nevertheless there is slight difference between these two. L2 norm in essence is an Euclidean norm with special case, when p=2. More specifically for n-dimensional vector we will have: L2=i=1nxi2L_2 = \sqrt {\textstyle\sum_{i=1}^n x_{i}^{2}}. The Frobenius measures the same thing but in this case we have matrices. That's why in neural networks L2 norm is frequently referred as Forbenius norm.

0

1

Updated 2020-11-09

Tags

Data Science