Blog posts on Data Science, Machine Learning, Data Mining, Artificial Intelligence, Spark Machine Learning

Saturday, September 8, 2018

Getting started with google laboratory for running deep learning applications

What is Google Colab:


We all know that deep learning algorithms improve the accuracy of AI applications to great extent. But this accuracy comes with requiring heavy computational processing units such as GPU for developing deep learning models. Many of the machine learning developers cannot afford GPU as they are very costly and find this as a roadblock for learning and developing Deep learning applications. To help the AI, machine learning developers Google has released a free cloud based service Google Colaboratory - Jupyter notebook environment with free GPU processing capabilities with no strings attached for using this service. It is a ready to use service which requires no set at all.

Any AI developers can use this free service to develop deep learning applications using popular AI libraries like Tensorflow, Pytorch, Keras, etc.



Setting up colab:


Go to google drive → new item → More → colaboratory


This opens up a python Jupyter notebook in browser.


By default, the Jupyter notebook runs on Python 2.7 version and CPU processor. We may change the python version to Python 3.6 and processing capability to GPU by changing the settings as shown below:

Go to Runtime → Change runtime type


This opens up a Notebook settings pop-up where we can change Runtime Type to Python 3.6 and processing Hardware to GPU.


Bingo, your python environment with the processing power of GPU is ready use.

Important things to remember:
  • The supported browsers are Chrome and Firefox
  • Currently only Python is supported
  • We can you use upto 12 hours of processing time in one go
Let’s check if our newly created Jupyter notebook works perfectly. Run below commands and see if we are getting expected results.


By default most frequently used python libraries such as Numpy, Pandas, scipy, Sklearn, Matplotlib etc are pre-installed when we create a notebook. Below we can see plotting

Running Machine Learning example:


Below Python Notebook code shows us an example of multi layer neural network using python and sklearn library.

Full code implementation:



In the next post we see how to import data into Colab environment

41 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Great Information. Thank You Author, for sharing your valuable information about Machine Learning with us. People who are reading this blog can continue your knowledge which you gained with us and know how to apply this practically along with our Machine Learning Course

    ReplyDelete
  3. I have read your blog its very attractive and impressive. I like it your blog.

    Guest posting sites
    Education

    ReplyDelete
  4. I'm really enjoying the design and layout of your blog. It's a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Superb work! web development singapore

    ReplyDelete
  5. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. fisher scientific laboratory startup glassware

    ReplyDelete
  6. Heya i’m for the first time here. I came across this board and I find It really useful & it helped me out much. I hope to give something back and help others like you helped me.
    singapore web designer

    ReplyDelete
  7. I really like what you guys tend to be up too. This sort of clever work and reporting! Keep up the amazing works guys I've you guys to our blogroll. marketing company singapore

    ReplyDelete
  8. My spouse and I absolutely love your blog and find most of your post's to be just what I'm looking for. Would you offer guest writers to write content for yourself? I wouldn't mind creating a post or elaborating on some of the subjects you write regarding here. Again, awesome site!
    seo agency

    ReplyDelete
  9. This is such a great article that you are providing to us. I like this article and keep sharing this type of article with us. If any one is looking for Beauty Parlour in Gurgaon or Beauty Parlour in Delhi then visit Lifeasy.

    ReplyDelete
  10. Hey there! Do you know if they make any plugins to help with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains. If you know of any please share. Cheers!why should you outsource

    ReplyDelete
  11. If you are looking for b.tech AKTU admission then KCCITM is one of the best engineering college in India as it ensure quality education.

    ReplyDelete
  12. Jindal Poly Films manufacture variety of Flexible Packaging products like Biscuit packaging , Food packaging , etc that are available in different types of densities.

    ReplyDelete
  13. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Youtube KISS English

    ReplyDelete
  14. I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz reply as I'm looking to construct my own blog and would like to find out where u got this from. kudos search engine marketing business

    ReplyDelete
  15. Dial 1-888-500-9609 (Toll-Free) to Fix Epson Printer in Error State issue under the guidance of experienced Epson Support Printer technicians.

    ReplyDelete
  16. High DA, PA and Do-follow Submission Site for Quality Back-link:-


    Also Check :- Blog Commenting Site

    Also Check :- Free Business Listing Sites

    Also Check :- Video Submission Sites

    Also Check :- Profile Creation Sites

    Also Check :- Dofollow Article Submission Sites

    Also Check :- Directory Submission Sites

    Also Check :- Image Submission Sites

    ReplyDelete
  17. Flip Flops for kids, Kids Sandals, Kids Shoes all are available in variety of designs which are offered by Aqualite India.

    ReplyDelete
  18. Sterco Digitex is one of the Best Digital Marketing company they provide digital marketing services, best seo services for small business, local seo services in us.

    ReplyDelete
  19. LDB is best for Online shipment Tracking, logistics tracking system, container tracking system, vessel tracking systems.

    ReplyDelete
  20. Xebia Academy Global offers best DevOps Training and Certification in Hyderabad, Big Data Developer Training in Hyderabad, SAFe Training in Hyderabad.

    ReplyDelete
  21. Neat blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your theme. Website security 

    ReplyDelete
  22. Your website is really cool and this is a great inspiring article. website ranking

    ReplyDelete
  23. Oh my goodness! a tremendous article dude. Thank you Nevertheless I am experiencing issue with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting identical rss drawback? Anybody who is aware of kindly respond. Thnkx Content Marketing Tactics for SEO

    ReplyDelete
  24. It is appropriate time to make some plans for the future and it's time to be happy. I've read this post and if I could I want to suggest you some interesting things or suggestions. Maybe you can write next articles referring to this article. I want to read even more things about it! SEO Mistakes That Can Deteriorate Your Ranking

    ReplyDelete
  25. Hello there! I know this is kinda off topic however , I'd figured I'd ask. Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa? My website addresses a lot of the same subjects as yours and I think we could greatly benefit from each other. If you are interested feel free to send me an e-mail. I look forward to hearing from you! Excellent blog by the way! do good market research

    ReplyDelete
  26. I am really inspired with your writing abilities and also with the format on your blog. Is that this a paid subject matter or did you modify it yourself? Anyway stay up the nice quality writing, it is uncommon to see a nice blog like this one nowadays.. How Startups Can Increase Their Social Media Presence

    ReplyDelete
  27. BCIL provide wide range of solutions starting from Vehicle management solution, QMS software for automation, Warranty Tracking & Management software system, Spare parts, Solutions for Industry 4.0.

    ReplyDelete
  28. Paramount is among largest Reflective Insulation Material Manufacturers in India. The reflective insulation material is very thin and fairly lightweight and does not degrade over time owing to disintegration and moisture absorption capability.

    ReplyDelete
  29. Mectech is one of the best Horizontal Pressure Leaf Filter manufacturers in India. The Horizontal Leaf Filter has big filtration surface, single O-ring sealing, heating jacket, etc.

    ReplyDelete
  30. If you are looking for the School Franchise in Washington State then end your search with Positiveally Franchise as they provide school franchise.

    ReplyDelete