Machine Learning From scratch | Part 4. Setup Google Colaboratory

Neeraj Dana
Neeraj Dana

Ok so in this article we will see how you can quicky setup your dev env to gett your hands dirty with some coding

Requirment to start machine learning is just a web browser with a google account with good internet speed thats it yes

We will be using Google Colaboratory

What is Colaboratory?

Colaboratory, or "Colab" for short, allows you to write and execute Python in your browser, with

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

Whether you're a student, a data scientist or an AI researcher, Colab can make your work easier. Watch Introduction to Colab to learn more, or just get started below!

With Colab you can import an image dataset, train an image classifier on it, and evaluate the model, all in just a few lines of code. Colab notebooks execute code on Google's cloud servers, meaning you can leverage the power of Google hardware, including GPUs and TPUs, regardless of the power of your machine. All you need is a browser.

Colab is used extensively in the machine learning community with applications including:

  • Getting started with TensorFlow
  • Developing and training neural networks
  • Experimenting with TPUs
  • Disseminating AI research
  • Creating tutorials

Steps To Get Started

Head over to  Click on New and you will see menu option like this

then Go to More > Connect More apps

Connect more apps will open a popup for you search for Colaboratory

Click on the first result it will open another popup with install button

Once installed you will now see a new option in the new button in that is Google Colaboratory

click on Google Colaboratory and it will open a new tab with jupyter notebook hosted by google for us where we can write our code

If you can see this screen great job its time to see demo of what we have learned so far


machine-learningmachine learningdeep-learningdeep learningprogrammingPythonColaboratory