import numpy as np
#estimate bias and variance
mse, bias, var = bias_variance_decomp(forest_def, X_train_gd, y_train_gd, X_test_gd, y_test_gd, loss = 'mse', num_rounds=200, random_seed = 1)
print ('MSE:% .3f'% mse )
print ('Sesgo:% .3f'% sesgo1)
print ('Varianza:% .3f'% var1)
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) in () 3 4 #estimate bias and variance ----> 5 mse, bias, var = bias_variance_decomp(forest_def, X_train_gd, y_train_gd, X_test_gd, y_test_gd, loss = 'mse', num_rounds=200, random_seed = 1) 6 7
TypeError: 'module' object is not callable