Create arbitrary decision tree without training data?

조회 수: 5 (최근 30일)
Alex van Tuyll
Alex van Tuyll 2019년 10월 18일
댓글: Alex van Tuyll 2019년 10월 31일
Hi there,
I am modelling rule-based control in greenhouses (with lots of rules like "if temperature > 25°C, open windows"). This essentially means making a decision tree.
Having looked around, I like the functionality of MATLAB's fitctree() classification function. I like that the trees can be visualised and used elegantly. However, the type of tree I want to create does not revolve around data. I want to build a tree with an arbitrary structure and arbitrary threshold values myself.
Does MATLAB have anything that can do this? Input arguments would be variable names (e.g. temperature) and threshold values (e.g. 25) - in a certain order - and the output would give a tree with the same functionality as fitctree() trees.
Thanks and best wishes,
Alex
PS - I see phytree() does something similar, but can it be used for decisions with multiple variables, and can it give a decision using the current state variables as an input?

답변 (1개)

Asvin Kumar
Asvin Kumar 2019년 10월 29일
  댓글 수: 1
Alex van Tuyll
Alex van Tuyll 2019년 10월 31일
Thank you, Asvin! Looks like that will help with the visualisation aspect especially.

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

카테고리

Help CenterFile Exchange에서 Electromechanical에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by