Shoud I preprocess the input data before using fitcsvm?

4 views (last 30 days)
Shoud I preprocess the input data before using fitcsvm, e.g., normalization?

Accepted Answer

Sourav Bairagya
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:

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!