fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

Import treeinterpreter and waterfall_charts before plotting #chap_09

Open fakhar-iqbal opened this issue 2 years ago • 0 comments

Before running predictions,bias,contributions = treeinterpreter.predict(m,row.values) they were not imported. from treeinterpreter import treeinterpreter

And before running waterfall(valid_xs_final.columns, contributions[0],threshold=0.08,rotation_value=45,formatting='{:,.3f}'); it was not imported, from waterfall_chart import plot as waterfall

fakhar-iqbal avatar Jul 21 '23 11:07 fakhar-iqbal