Got stuck in Normalization and rescaling. Please Help

10 次查看(过去 30 天)
I am writing a MATLAB code but I am confused whether I should use normalization or rescaling. What is the difference between both of them. ?

采纳的回答

Naman
Naman 2023-7-17
Hi Pravin,
  • Normalization refers to the process of transforming data to have a specific distribution or range. It typically involves scaling the data to have a mean of zero and a standard deviation of one. The purpose of normalization is to make different features or variables comparable on a similar scale, which can be useful in various statistical and machine learning algorithms.
  • Documentation Link -> Normalize data - MATLAB normalize - MathWorks India
  • Rescaling, on the other hand, refers to adjusting the range of values in a dataset to a desired range. This can involve scaling the values linearly or nonlinearly to a specific minimum and maximum range. The purpose of rescaling is often to enhance visualization or to ensure that the data falls within a specific range required by a particular algorithm or application.
  • Documentation Link -> Scale range of array elements - MATLAB rescale - MathWorks India
Hope it helps !

更多回答(1 个)

Rik
Rik 2023-7-17
Your question has nothing to do with Matlab.
Normalization either means the highest value is set to one (by dividing every value by the highest value), or it means ensuring the area is set to one (by dividing by the area).
Rescaling doesn't really have a fixed meaning, but usually means data is stored with a different scale than the actual data scale. Multiplying with the rescale factor (the RescaleSlope in the context of dicom images) will restore the original data.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by