Closed Sanchita-P closed 3 years ago
Hi,
I am unable to successfully plot the pdp. Find below the code being used -
feat_name = 'avg_albumin' x_test_pdp = x_test[x_test[feat_name].notnull()] #Did this to remove nulls since pdp cant take null values pdp_data = pdp.pdp_isolate(model=best_gbm, dataset=x_test_pdp, model_features=cols_best_rfe, feature=feat_name) # plot it pdp.pdp_plot(pdp_data, feat_name) plt.show()
The error statement is- 'PDPIsolate' object has no attribute 'pdp_isolate'.
It would be great if you could help me out with this. Thanks! @doctorperceptron @SauceCat
Hi,
I am unable to successfully plot the pdp. Find below the code being used -
The error statement is- 'PDPIsolate' object has no attribute 'pdp_isolate'.
It would be great if you could help me out with this. Thanks! @doctorperceptron @SauceCat