Machine Learning using Python

One may need to have anaconda framework for working on data science project using Python. One may also use google colab to work on the machine learning and deep learning projects. Since colab provisions a server/virtual machine, one may need to be careful in saving the work in local machine before logging off the colab. The installations and repositories for using Python software are as below:

Installation - Python with Anaconda

  • Operating system specific version of anaconda can be downloaded from this link.

Once downloaded, complete the installation. One is expected to resolve installation issues of the software, if any. You may google about the installation issues and resolution may follow. More about anaconda can be found here.

Installation - Python with Google Colab

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

It is particulary useful if you are working with deep learning problems and need to use GPUs. Whether you’re a student, a data scientist or an AI researcher, Colab can make your work easier. Read more about google colab. Follow the steps to launch google colab:

Step 1: Create a new google account This is optional and you may use existing google account as well. However, since one may use google drive to launch google colab, it may unnecessarily read all the files and folders which one may not want to show to others. Go to step 2, if you wish to use your existing google account for working with colab.

Step 2: Launch google drive

Login with your google id and launch google drive:

image

For first time user, google colab may not show up as a connected app. Write click on the drive and click on connect more apps:

image

Step 3: Search and install

Search for Colaboratory in the browser window:

image

Click on the link to install google colab:

image

Follow the on-screen instructions (with default options checked/ticked) to finish the installation.

Step 4: Launch google colab

Go to google drive, right click on the window and you will see google colab as a new app:

image

Click and launch google colab:

image

All the machine learning (pandas, seaborn, sklearn etc.) and deep learning packages (including keras, tensor flow etc.) are pre-installed. The environment is ready to work on your analysis.

Repository

The link to the repositories are here:

  • Here is the link to download the repository for ML using Python.