Shoud I preprocess the input data before using fitcsvm?

4 vues (au cours des 30 derniers jours)
Wanli Wen
Wanli Wen le 13 Déc 2019
Shoud I preprocess the input data before using fitcsvm, e.g., normalization?

Réponse acceptée

Sourav Bairagya
Sourav Bairagya le 16 Déc 2019
Modifié(e) : Sourav Bairagya le 16 Déc 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:

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by