The way PyTorch’s scatter_(dim, index, src) function works can be a bit confusing. So, I will take a visual approach in explaining the function as I believe it will be more clearer in grasping the concept further.

The scatter_() function takes three arguments: The dimension across which we will be…


I was reading in Bart Kosko’s book: Fuzzy Thinking, where he mentioned that in much of our science, math, logic, and culture, we have assumed a world of blacks and whites that doesn’t change. In other words, everything is either true or false. …


In an interview I conducted with Jürgen Schmidhuber, a German computer scientist and artist known for his work in many fields including machine learning, Artificial Intelligence (AI), and artificial neural networks, I asked him where he sees Deep Learning (a form of machine learning) in the coming 10-years. I got…


Deep Learning is a very hot topic nowadays, either in academia or industry. Big companies like Google and Facebook are relying heavily on Deep Learning, and academia is using this technology to solve complex research problems for its state-of-the-art solutions.

Talking about the usage of Deep Learning with skin cancer…


I will be sharing a script using Keras for training a Convolutional Neural Network (CNN) with transfer learning for melanoma detection. You can find the code in this GitHub repository. In the previous post, the CNN was trained from scratch without augmenting the data.

Before proceeding, make sure that you…


I will be sharing a script using Keras for training a Convolutional Neural Network (CNN) from scratch for melanoma detection. You can view the code from this GitHub repository.

Before proceeding however, make sure that you structure the data as follows (the numbers represent the number of images in each…


I will be sharing a script using Keras for training a Convolutional Neural Network (CNN) from scratch with data augmentation for melanoma detection. You can view the code from this GitHub repository. In the previous post, the CNN was trained from scratch without augmenting the data.

Before proceeding, make sure…


So in Part-I I gave a simple introduction on what linear regression is and how we can find the equation of the best fit line for our data. In this post, I will show you how to implement the task we worked on in Part-I in PyTorch. …


The term linear regression might seem a bit complex at first, but don’t worry, it is a simple but powerful concept. Let us go through an example to understand the concept better.

I will throw some random data here and see what happens. Say that we have two variables h

Dr. Abder-Rahman Ali

Leveraging machine/deep learning and image processing in medical image analysis.

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