cerlymarco / linear-tree

A python library to build Model Trees with Linear Models at the leaves.
MIT License
338 stars 54 forks source link

Why does each leaf node return three arrays of coefficients ? #20

Closed akhilkapil closed 2 years ago

akhilkapil commented 2 years ago

Hi, I was just going through each leaf node just to see how the coefficients for each feature are behaving. But while looking at it I realised that each node is returning three arrays of coefficients for each feature. Screenshot from 2022-04-23 11-15-58 You can see above for one node how it is behaving, I mean it is correct I know but I am not able to understand it properly. Any insight would be appreciated.