필터 지우기
필터 지우기

Does anyone have the source code of the regression decision tree in MATLAB?

조회 수: 5 (최근 30일)
Anas Amaireh
Anas Amaireh 2022년 10월 13일
편집: John D'Errico 2022년 10월 13일
I would appreciate it, if anyone can provide me the source code of the regression decision tree in MATLAB with no functions, just the source code.
Thanks

답변 (1개)

John D'Errico
John D'Errico 2022년 10월 13일
You already have the source code. For example, just do this in MATLAB:
type fitrtree
The code is written in MATLAB itself, so you have it.
Can we give it to you, if you lack the necessary toolbox (stats)? No. That would be illegal.
  댓글 수: 2
Anas Amaireh
Anas Amaireh 2022년 10월 13일
편집: Anas Amaireh 2022년 10월 13일
Thanks for your answer But I need the source code to do some modifications for my research. I don't need the built-in functions. And why it's illegal sine DT is a very old and well known algorithm.
John D'Errico
John D'Errico 2022년 10월 13일
편집: John D'Errico 2022년 10월 13일
The algoithm MAY be old and well known, but the implementation is theirs, something they have a copyright on. It would certainly be against the rules of this site.
The functions are NOT built-in. They seem to be written in MATLAB itself, at least the one I checked, so you have them already as long as you own the stats toolbox. Modifying such code is just a bad idea, but feel free as long as you own it. And if you don't own that toolbox, it is not at all expensive to buy a toolbox, compared to the time you would need to write that large a set of codes. But since you seem to think the algorithm is so old and well known, then surely you could just write it yourself?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by