필터 지우기
필터 지우기

Does fitrlinear return linear regression model or svm regression model

조회 수: 6 (최근 30일)
f mehr
f mehr 2017년 11월 19일
답변: Karsten Reuß 2018년 1월 21일
based on the documentation of fitrlinear function, it Fits linear regression model to high-dimensional data.
but in the first line of description, it returns a trained regression model object that contains the results of fitting a support vector machine regression model to the predictors X and response Y.
what it does exactly? It does not seem to work correctly for linear regression model with regularization.
Introducing any other function for this task or any related example would be highly appreciated.

답변 (1개)

Karsten Reuß
Karsten Reuß 2018년 1월 21일
It fits both, depending on if you specify 'Learner','leastsquares' or 'Learner','svm'
Anyways, fitrlinear has so many different options one needs to experiment with to get the maximum output from it. I guess one could write a whole book just about fitrlinear ;-)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by