-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm trying to build an ensemble learner using PiecewiseTreeRegressors. In doing so, the parameter "sample_weight" is utilized during fitting of the estimator. This throws an error here:
sum = sample_weight.sum() |
when executing line 136 in piecewise_tree_regression.py:
dec = LinearRegressorCriterion.create(xs, ys, ws) |
AttributeError: 'mlinsights.mlmodel.piecewise_tree_regression_crite' object has no attribute 'sum'
Metadata
Metadata
Assignees
Labels
No labels