Machine Learning for Panel Data
조회 수: 8 (최근 30일)
이전 댓글 표시
Can anyone please confirm whether Matlab supports machine learning methods for panel/longitudinal data?
I have not been able to find anything around trees/random forests etc.
Many thanks
댓글 수: 0
답변 (1개)
Hiro Yoshino
2022년 4월 27일
Yes, it does.
table type variable is supported by many ML models. For example, SVM (https://jp.mathworks.com/help/stats/fitcecoc.html) accepts "Tbl" (table) as a first argument.
This is where "table" is elaborated https://jp.mathworks.com/help/matlab/tables.html
댓글 수: 3
Hiro Yoshino
2022년 4월 29일
Looks like you need to get yourself familiarized with the MATLAB documentation a bit more.
Let's us take https://www.mathworks.com/help/stats/fitcecoc.html#namevaluepairarguments as an example.
You will see the available syntaxes as follows:
Mdl = fitcecoc(Tbl,ResponseVarName)
Mdl = fitcecoc(Tbl,formula)
Mdl = fitcecoc(Tbl,Y)
Mdl = fitcecoc(X,Y)
Mdl = fitcecoc(___,Name,Value)
[Mdl,HyperparameterOptimizationResults] = fitcecoc(___,Name,Value)
then you may want to puress the link to the "Name" & "Value" option. This option allows you to tune the model finely as you wish. In the list of this option, you'll find "PredictorNames" and "ResponseName". These are where you specify the predictors and the response respectively.
참고 항목
카테고리
Help Center 및 File Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!