How to format the numeric data at the node of decision tree graph?

조회 수: 1 (최근 30일)
Nathan L
Nathan L 2017년 7월 22일
답변: Mark Henderson 2018년 6월 13일
Hi, is there a way to set number of decimal places for number showing at each of the decision tree nodes? I am trying to limit the numeric data to only two decimal places. Thank you.

채택된 답변

Carl
Carl 2017년 7월 24일
Hi Nathan. Unfortunately, as of right now there is no way to change the format of numerical data when viewing a decision tree in graph mode. Our development team has been notified of this as a possible enhancement, and will look into it for future releases.

추가 답변 (1개)

Mark Henderson
Mark Henderson 2018년 6월 13일
Workaround: save the graph as an SVG file, then edit the SVG code. To declutter the graph you can remove all of the left branch text (<), which is grouped in one section of the SVG file, since the right branch text (>=) is sufficient.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by