You heard me right, forget about diets, forget about calorie counting, forget about points and only eating certain foods with a certain number of points. Forget about diet classes. The more you restrict yourself from the food and drinks you like the more likely it is to fall off the wagon! If you want to loose weight and be in shape just cut out as much refined sugar as you can and fast 2–3 times per week on non-consecutive days. It really is that simple!

My journey into intermittent fasting started in 2016, I was 36 years old and realised…


Google Colab provides an embedded Jupyter Notebook which can integrate with your Google Drive to access files. Its ace-card is the free use of GPU (graphical processing unit) which would otherwise be a very costly purchase if used on your local computer. It provides a perfect environment for all your machine learning / deep learning projects.

Tensorboard is the “eyes and ears” of your neural network model that has been trained. It graphs the accuracy and the loss of your model that has undergone training thus allowing you to visualize the results in an accuracy graph and a loss graph.


Deprecation occurs in all software and AI libraries are no exception. In fact, the TensorFlow libraries are notorious for being deprecated. TensorFlow is Google’s deep learning library which was launched in 2015 and has been evolving ever since.

I’m following YouTuber sentdex who has created a series of excellent follow-along machine learning and deep learning tutorials. Here is an example of a convolutional neural network (CNN) that was created by sentdex in 2018 and it worked seamlessly until TensorFlow deprecated one of its functions. (The tutorial can be found here: https://pythonprogramming.net/convolutional-neural-network-deep-learning-python-tensorflow-keras/)

I’d like to share with you the approach I…


On your journey in learning machine/deep learning using Google Colab, at some point you will need to save out your trained model so it can be used at a later date. In the world of Python this is known as “pickling” (check out the official Python documentation of a detailed description: https://docs.python.org/3/library/pickle.html).

If you’re using Google Colab and you want the pickled objects to be saved in your Google Drive you need to specify the exact path where you’d like the model to be saved.

Allow me to demonstrate…

Let’s look at an example code by YouTuber sentdex: Loading in…


All software functions regardless of language evolve over time and as a result the functions that were used become obsolete and stop working. In my case, what was once only a few weeks or months ago a fully functioning machine learning / deep learning algorithm now sits a broken python script that didn’t run. In the programming world this is known as deprecation and Python machine learning libraries are no exception. So how do we deal with this?

Here I’ll demonstrate the problem of deprecation pertaining to a machine learning tutorial and how I went about fixing it. The aim…


Google Colab is a cloud based Jupyter Notebook that allows you to run and execute your Python code remotely and save your work into your personal Google Drive. It’s ace card is the availability of the free graphics processing units (GPU) to allow fast training.

One of the excellent features of Colab that all developers should take full advantage of is the use of text and code compartmentalisation. Basically, splitting your code up into chucks of code and text in code cells and text cells respectively. …


If like me you’ve started your journey in learning AI and ML using Google Colab, at some point you will need to upload datasets to your Google Drive to be accessible in Google Colab. There are several ways to accomplish this task. Let’s examine them…

Taking the Wisconsin Breast Cancer dataset as an example: https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/

Manually downloading the dataset to your local computer then uploading it to your Google Drive — The long-winded way (not recommended)

Accessing the breast-cancer-wisconsin folder shows the two datafiles amongst others and clicking on them will result in downloading the .data and .names …


www.thinglink.com

This article follows on from my previous one; Accessing Google Drive and creating your first Python script in Google Colab — A complete beginners walkthrough: https://miteshparmar1.medium.com/accessing-google-drive-and-creating-your-first-python-script-in-google-colab-a-complete-34204f2d6ae2

So you’re getting to grips with Google Colab because you can’t wait to use it’s completely free GPU on this awesome free cloud service based on Jupyter Notebooks. Working with this fantastic tool has thrown some curveballs which I’ve had to research and then found an easier way to “skin this cat”. One of them was how to mount my Google Drive so I could access my data-files.

You’ve probably already read many articles…


Google Colab is an excellent cloud-based Jupyter notebook environment in which to code and run your Python scripts. And, as the saying (or as the Flying Lizzards would say) “the best things in life are free” and that’s exactly what Colab is! It’s completely free to anybody with a Google account. It allows you access to a GPU processor when you need to train your AI model allowing rapid training times as opposed to training on your local computer’s CPU.

Let’s go over accessing the Google Colab environment from Google Drive…

…First and foremost you will need a Google Account…


Getty Images.

So you’ve read articles in the news of AI being used more and more in medicine, industry, financial markets. AI is even making it’s way into your homes by filtering your mail for spam / junk and it’s use just increases with time from automated cars to smart systems in and around the house.

But what if you want to get into this new field of computer science, where do you start? How do you start? What if you studied computer science like I did over 20 years ago and want to get a solid understanding of the programming languages…

Mitesh Parmar

Computer Scientist with an interest in AI

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