How to show the output of compare_models() in a streamlit page. I can get the scoring metric/Scoring Grid in jupyter notebook but when same code in pasted in streamlit, I can only get best model & its detailed params. How to get the scoring GRID in code?

How to show the output of compare_models() in a streamlit page?
I can get the scoring metric/Scoring Grid in jupyter notebook but when same code in pasted in streamlit, I can only get best model & its detailed params.
How to get the scoring GRID in code?
Kindly help!

Hi this finally worked out…with power of pull()
best = compare_models()
regression_results = pull()
st.write(regression_results)

The pull() function will also return the last score grid with other training functions, such as create_model().
Currently this function only works with the regression and classification modules.