Introduction to Google Colaboratory

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

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!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Marketing Analytics: Customer Engagement, Random Forest Style

Develop Machine Learning Models using AWS Sagemaker

Interview Question with a Variation of Russian Roulette

Toxicity and Tone Are Not The Same Thing: analyzing the new Google API on toxicity, PerspectiveAPI.

DAMN., That’s Offensive

The Data Science Myth (for Startups)

Unpivot data with delimiters in Power Query

Split Column By Delimeter option location

Making elevation maps with blender

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Makarbaderko

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!

More from Medium

Data Exploration — First Step into Data Cleaning

png

Which DDL operation to choose?

DATA STRUCTURE IN PYTHON

Building a web resume to showcase data science portfolios.