Scaling to vector unit norm
In this lesson, we will learn another scaling method called scaling to vector unit norm, and we will also see its formula and a sample code to scale your features using this technique.
Definition
When scaling to vector unit length, we transform the components of a feature vector so that the transformed vector has a length of 1, or in other words, a norm of 1. It consists of dividing each feature’s vector by the vector’s distance. Here is the formula for scaling to vector unit norm:
...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy