Introduction to Google Colaboratory

Makarbaderko
3 min readDec 2, 2020

--

Hey there, my name’s Makar Baderko, I’m a 12-year-old Data Scientist and today I’m going to introduce you to one of my best friends in coding — Google Colab.

Colab is a web-based Jupyter-like IDE, which is mostly used by ML Engineers. Here you access free Tesla GPUs or connect to your hosted or local sources.

On the first screen, you can choose where to save your notebook Google Drive or Github. I personally use GitHub, because there you can do the version controlling stuff. Also, google is so kind, that gives some pretty looking examples of Colab Notebooks. Don’t be lazy — look through them.

Ok, so let’s imagine, that you’ve created your first .ipynb notebook in collab — what will you see? We will start with the menubar, which is situated on the left. The first section shows you the structure of your code: when you use Headings or some sort of markdown here, it will be shown here.

The next section should not be tough – it has its place in any IDE: Find and replace. For example, if in the middle of coding process you would like to change the name of the variable, or find some pice of code – welcome to this section. I often use it in big projects, where I can’t remember where is each function placed

Any coder will find the code snippets section really useful, because here you can find official pieces of code that will help you to use especially Colab features, for example, webcam image capturing or files uploading.

The last section is used the most because it emulates the file system. If you need to upload any sort of data or work with the system files, this place will be your favourite. Also, you’re able to connect the google drive and use files that are stored there. Be careful! Files that were uploaded to the session storage will not be saved!

The upper menu-bar stays the same except one column — Runtime, here you can run all of the cells, run before current cell and lots of interesting things.

Except stays the same as in Jupyter Lab/Notebook

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Makarbaderko
Makarbaderko

Written by Makarbaderko

Hey there! My name's Makar Baderko, I'm 12 years old and I live in Moscow, Russia. I really love Data Science and Machine learning!

No responses yet

Write a response