converts TreeBagger class, or ClassificationTree Class to text file for use with included C ++ class
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Introduction
--------------------------------------------------------------------------------
This program takes a decision tree trained in Matlab using TreeBagger or the classification tree function ClassificationTree and outputs a textile containing all the branch information. This text file can be read by the attached C++ class, and then used to make decisions based on presented features in deployed applications.
It is useful for deploying code developed in matlab into other applications / systems as the TreeBagger class is not included in the matlab Coder.
Usage
--------------------------------------------------------------------------------
extractDecTreeStruct.m matlab files takes as input a trained ClassificationTree tree or a TreeBagger classification ensemble, and outputs a text file which can be read by the C++ class DTree in DecisionTreeClass.hpp. in DTree are two methods, readTextFilesTrees reads the decision tree text file outputted by extractDecTreeStruct.m into a number of private arrays. The method decisionTreeFun, then takes as input a series of features and outputs the class (integer number). The files must always have the following postfix : _bag_x.txt, where x is the bag number.
인용 양식
Paul (2026). kenders2000/decisionTreeMat2Cpp (https://github.com/kenders2000/decisionTreeMat2Cpp), GitHub. 검색 날짜: .
GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 |
