Closed bannisterhayley closed 3 years ago
This seems reasonable, thanks for catching this and including the fix! I'll test it and then integrate it into the next release. I'll close this issue when the next release goes out.
The fix was included in the v0.1.9.
I've been following the example posted here to obtain predictions from individual trees within a
GradientBoostedTreesModel
i.e.However, it fails when calling
builder.close()
with the following error:I've tested a possible fix for this by changing this line (line 156 above) to
dist = core_node.regressor.distribution
as used elsewhere in the codebase (see here) and it seems to work, but I'd appreciate the eyes of someone that is more familiar with the code than I am.It's possible that this hasn't been caught previously as none of the tests here seem to include the standard deviation in the
RegressionValue
.