For internal use.
.add_modelinfo(x, nodeids, data, model, coeffun)
constparty object.
node ids, usually the terminal ids.
data.
model.
function that takes the model object and returns the coefficients. Useful when coef() does not return all coefficients (e.g. survreg).
tree with added info. Class still to be added.