Shoud I preprocess the input data before using fitcsvm?

4 Ansichten (letzte 30 Tage)
Wanli Wen
Wanli Wen am 13 Dez. 2019
Bearbeitet: Sourav Bairagya am 16 Dez. 2019
Shoud I preprocess the input data before using fitcsvm, e.g., normalization?

Akzeptierte Antwort

Sourav Bairagya
Sourav Bairagya am 16 Dez. 2019
Bearbeitet: Sourav Bairagya am 16 Dez. 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:

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by