Felipemendezrios / RatingShiftHappens

Tools for Detecting, Visualizing and Estimating Rating Shifts
GNU General Public License v3.0
1 stars 0 forks source link

plotTree needs improvement #10

Closed benRenard closed 4 months ago

benRenard commented 12 months ago

Main problem: nodes can overplot the way the function was coded. A quickfix was implemented in commit d00d3e4 so that all nodes can at least be seen, but it's still not very nice. The function needs to be recoded, I can see 2 options:

  1. compute coordinates by travelling the tree upward (i.e. from terminal nodes to node 0), rather than downward as currently implemented.
  2. try a polar plot, where node 0 would be at radius 0, level-1 nodes at radius 1 and evenly-spaced angles, etc.
Felipemendezrios commented 4 months ago

plotTree has been modified in commit: 07dbb5a.

Update tree structure plot :

Feel free to reopen the issue if necessary.