scale the data.
Advantages and Disadvantages of scaling.
How to implement scaling of data ?
best example is normalization. for example you want all your numbers rescale in order to go from zero to one. In mathematics you often use this strategy with vectors. You can't know in advance when to use it, you use it when it's needed to do so.
but why will I want to rescale my numeric data in between 0 and 1 ? Can you give real world example .
Suppose, we have two features in the dataset, Number of children (childs) and salary. The child's column can have values from 0 to a limit number like 2,..5 and salary can have value from 3000 to 10000 or more. they are not on the same scale. if we have a machine learning algorithm, it may have more attention to the salary, because its values are on a higher scale. to prevent this, we scale all features in the same value like normalizing between 0and 1
Обсуждают сегодня