MATLAB Answers

Shoud I preprocess the input data before using fitcsvm?

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

  0 Comments

Sign in to comment.

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:

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!