human
I wrote the below code

    class DummyEstimator(BaseEstimator, ):
        def fit(self, X, y):
            pass
        def predict(self, X):
            return np.zeros(X.shape[0])
    boost = AdaBoostRegressor(DummyEstimator(), n_estimators=3)
    boost.fit(X, y_regr)
    assert_equal(len(boost.estimator_weights_), len(boost.estimator_errors_))

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def test_sample_weight_adaboost_regressor():