Do we need to normalize data before using matlab machine learning classifier especially SVM?
18 次查看(过去 30 天)
显示 更早的评论
Hi,
i al currently exploring machine learning using matlab. My question is do i need to normalize the data between 0-1 before start training with machine learning classifier expecially SVM?
For example the image below, we notice that the data are between -5.2 to 6.5 for "X" and -6.4 to 5.6 for "Y". so do i need to normalize the data from 0 to 1 first before start to train with machine learning classifier such as SVM?
Besides, i do notice that SVM does have kernal function properties such as gaussian. Does it mean that using kernal function alone is sufficient to ovveride the normalization process?
Hope someone could help clarify the confusion. many thanks.
0 个评论
回答(1 个)
Manas
2023-10-4
Hey Teo,
I understand that you wish to know if there is a need to normalize data when using MATLAB SVM Classifier
It is generally recommended to normalize the input data before training as it helps ensure that all features have a similar scale, which can improve the performance and convergence of the model.
While kernel functions like gaussian or linear can help handle non-linear data and implicitly map it to a higher-dimensional feature space, normalization still plays a crucial role in ensuring all features have a similar scale.
With all being said, the decision to normalize the data ultimately depends on the specific characteristics of the dataset and the requirements of the problem statement itself. I would recommend experimenting with both normalized and unnormalized data to observe the impact on the performance of your SVM Model.
I’m adding links to relevant documentations for your reference:
You can learn more about SVM’s from here: https://in.mathworks.com/discovery/support-vector-machine.html
SVM Documentation for MATLAB: https://in.mathworks.com/help/stats/support-vector-machine-classification.html
Hope this helps
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!