Regression calculation for housing calculation doesn't work



File "C:\Users\samue\anaconda3\lib\site-packages\streamlit\runtime\scriptrunner\", line 556, in _run_script
    exec(code, module.__dict__)
File "C:\Users\samue\PycharmProjects\regression boston housing\", line 85, in <module>
    shap.summary_plot(shap_values, X, plot_size="bar")
File "C:\Users\samue\anaconda3\lib\site-packages\shap\plots\", line 608, in summary_legacy
    pl.gcf().set_size_inches(8, len(feature_order) * plot_size + 1.5)


Have you reported this problem to the people who wrote the code? What was their response?

What help would you like from the Python community about this situation?

You have some output that looks like part of a traceback, but it is missing the “Traceback” line at the start and the actual error at the end.

How are you running the code?

1 Like