Shoud I preprocess the input data before using fitcsvm?
4 views (last 30 days)
Show older comments
Wanli Wen
on 13 Dec 2019
Edited: Sourav Bairagya
on 16 Dec 2019
Shoud I preprocess the input data before using fitcsvm, e.g., normalization?
0 Comments
Accepted Answer
Sourav Bairagya
on 16 Dec 2019
Edited: Sourav Bairagya
on 16 Dec 2019
It is better to preprocess the input data before using 'fitcsvm'.
There is option to standardise your input data by setting the 'Standardize' flag to 'true'. It will center and scale each predictor variable by the corresponding weighted column mean and standard deviation. Standardization makes predictors insensitive to the scales on which they are measured.
For more details leverage these links:
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!