In Machine learning you'll keep hearing about this thing called a Jupyter Notebook🪐

What is it and should you use it?

Let's explain
(1/10) 👇
🤔A Jupyter notebook is simply a place for you to write your Python code, just like Sublime Text, VS Code or Atom.

(2/10)
🤜The cool thing about Jupyter notebooks is that you can run individual "cells" (sections of code) as per your will.

This is especially useful in Machine Learning and DataScience.

(3/10)
These notebooks have several benefits:

- Rather than commenting code out to test newer code, you can simply put it in a new cell and run it
- Helps with rapid prototyping of code
- You can document your code with markdown in the same place, which makes it easy for ...

(4/10)
... someone else to view and run your code.
- These notebooks can run on your local system to you servers

However they have problems too.

(5/10)
- They way you write code in Jupyter notebooks is generally not optimal for production environments
- They are not suited for general development like web, mobile, game dev etc.

These notebooks really shine for machine learning and data science related workloads.

(6/10)
The easiest and quickest way to get started with Jupyter notebooks is by using colab, an online notebook hosted on Google's servers.

- Zero configuration required
- Free access to GPUs
- Easy sharing

🔗//colab.research.google.com

(7/10)
In case you really hate google, you can use Kaggle notebooks, it is also a notebook but has a bit of a different interface than colab.

🔗//www.kaggle.com/kernels

(8/10)
You can also host a Jupyter notebook on your own computer, here's a guide on how to do so👇

🔗//realpython.com/jupyter-notebook-introduction

(9/10)
Here's the bottom-line, it doesn't really matter where you write your code, be it jupyter, vs code, atom....

Your code itself it what matters the most, focus on that and use whichever IDE/ text editor you like!

Good luck! 😃
You can follow @PrasoonPratham.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.