Jupyter Notebook - how to enable Intellisense

Hello,

I’m new to Python and when using the notebooks I missed intellisense (enables you to ask an object what methods it has).

At the top of your note book add this line

%config IPCompleter.greedy=True

Then when you have an object, for example numpy (np) do this

np.

After the . press [TAB] and it will show you all the methods available.

image

Another useful thing is method parameters. Juypter will show you these if you press [SHIFT] and [TAB] from within the method parentheses. Eg.

Cheers
Rich

8 Likes

god bless your soul

EDIT: we really need a jupyter notebook course that shows most of the bells and whistles available

I created an account just to like this post. I don’t understand why greedy is not the default.

Thank you! (in 2019 :slight_smile: )

Thank you very much! I was on the webinar they did not answered me how to do this. And you helped me! I wish you all the best!

I asked Ian Goodfellow (the author of the paper) recently about maxout, and he said he still thinks it has potential, even though it hasn’t been used much.

I haven’t seen it used in successful kaggle solutions, however, which I don’t think is a good sign. I tend to stick with stuff that wins competitions, since that’s where we see state of the art results pretty much every time.

thanks
alexsunny

thanks my issue has been fixed.