from sklearn import ensemble

hyper_params = [{
    'learning_rate' : (0.01, 0.1, 1.0, 10.0,),
    'n_estimators' : (10, 100, 1000,),
}]

est=ensemble.AdaBoostRegressor()

def complexity(est):
    size = 0 
    for i in est.estimators_:
        size += i.tree_.node_count
    return size

model = None
