PyCaret - How to have similar output in Spyder as Jupyter Notebook

837 views Asked by At

I am running setup and comparing functions of PyCaret in Spyder. According to PyCaret documentation, there is always a grid as an output result. I realized that documentation took for granted that code is running in Jyputer Notebook.

I am using Spyder as an IDE for Machine learning problem and I see that after running abovementioned functions, no results in output.

Is there any workaround in order to continue with Spyder?

1

There are 1 answers

0
FakeFootball On

By default it uses an HTML output optimized for iPython. To disable, when you call setup, set the "html" parameter to false. eg.

setup(data, 'target', html=False)

enter image description here

https://pycaret.readthedocs.io/en/latest/api/classification.html#pycaret.classification.setup