Study Python with Google Colaboratory

Speaking of machine learning, Python

AI and machine learning have been the focus of attention for some time. As an engineer, I thought it was necessary to study as much as I could, so I decided to study the basics from now on.

First of all, when studying, I referred to the following pages.

-[Preserved version / for beginners] Recommended study method for those who want to become an AI engineer by themselves

After all, it seems that Python is common when it comes to machine learning, so I'll start by studying Python.

Preparing to learn Python

If you take the time to build an environment to learn Python, and eventually machine learning, the motivation for learning may drop. It's just for learning, so I wanted to build it quickly, but it seems that Python can be executed via a web browser by using Colaboratory (abbreviation: Colab) provided by Google. In addition, it seems that the configuration for machine learning is built and the GPU can be used for free.

-How to use Google Colab-Summary of advantages / disadvantages and basic operations of Google Colaboratory

How to use Google Colaboratory

Create / log in to Google account

First, create an account on Google.

0001.jpg

Go to the Google site and press "Login" in the upper right.

0002.jpg

The login screen will appear, so press "Create Account" at the bottom left. Then register the required information and create an account.

After that, log in to the Google site with the registered account.

Create a folder in Google Drive

Create a folder in Google Drive for Google Colaboratory.

Added Colaboratory app on Google Drive folder

0003.jpg

Right-click the created folder and select "Open with"-"Add app".

0004.jpg

A dialog will appear where you can add various apps, but enter "Colaboratory" in the search text field at the top of the dialog and select the app "Colaboratory" that appears.

0005.jpg

Then press the install button to install.

0006.jpg

Accept the terms of use and privacy policy and press the "Continue" button.

0007.jpg

Then, the installation will be completed.

Python execution

0008.jpg

Right-click the folder on Google Drive you just created and select "Other"-"Google Corablratory".

0009.jpg

A screen for entering Python code will appear.

0010.jpg

Enter the Python code in the text field and press the play button "▶ ︎" on the left side to execute the entered Python code.

0011.jpg

Now you have a Python runtime environment. In the future, I would like to study while executing Python code.

Thank you to everyone who read to the end.

Recommended Posts

Study Python with Google Colaboratory
Access Google Drive with Python
Try OpenCV with Google Colaboratory
Google colaboratory
OpenCV feature detection with Google Colaboratory
Basic study of OpenCV with Python
Python study note_002
FizzBuzz with Python3
Scraping with Python
Python study notes _000
Statistics with python
Scraping with Python
Python with Go
Python study note_004
Twilio with Python
Integrate with Python
Try using Python with Google Cloud Functions
Play with 2016-Python
AES256 with python
Tested with Python
How to search Google Drive with Google Colaboratory
python starts with ()
Make a cascade classifier with google colaboratory
[GCP] Operate Google Cloud Storage with Python
Manage deals with Trello + Google Colaboratory (Part 1)
Register users with Google Admin SDK (python)
with syntax (Python)
Python study note_003
Python study notes _005
Using Java's Jupyter Kernel with Google Colaboratory
Use TPU and Keras with Google Colaboratory
Bingo with python
Zundokokiyoshi with python
Python study notes_001
Upload images to Google Drive with Python
Excel with Python
Microcomputer with Python
Free Python runtime environment Google Colaboratory memo
Python study day 1
Cast with python
Csv output from Google search with [Python]! 【Easy】
Play with Google Spread Sheets in python (OAuth)
Try running Google Chrome with Python and Selenium
Upload files to Google Drive with Lambda (Python)
Google Colaboratory 90-minute session disconnection countermeasures --- Use Python! ---
[Python] Troubleshooting before accessing Google Spreadsheet with gspread
I tried simple image processing with Google Colaboratory.
Cheat sheet when scraping with Google Colaboratory (Colab)
Serial communication with Python
Authenticate Google with Django
Google Colaboratory setup summary
Zip, unzip with python
Primality test with Python
Python with eclipse + PyDev.
Socket communication with Python
Data analysis with python 2
Scraping with Python (preparation)
Try scraping with Python.
Sequential search with Python
"Object-oriented" learning with python
Run Python with VBA