In this article you’ll learn:

  1. How to write custom deep learning model in TensorFlow 2.x.
  2. TensorFlow functional APIs.
  3. How to create custom loss function.
  4. Custom training using Gradient tape with callbacks.

Before starting this article, you must need knowledge of Python, TensorFlow 2.x, Intuition to Artificial Neural Networks.

From a long time, I was thinking to write an article in my leisure time about how to create a custom deep learning model (DNN) or artificial neural network using TensorFlow 2.x. Sometime, only sequential models are not enough or we found that there is another more accurate model for our goal…

Pandas is a python programming language library which is very useful for playing with data, doing very complex queries over tables, getting useful data, data filtering etc. This library helps a lot when you have a lot of data and need to do data mining. In this article, I will discuss about some very complex queries which can help anyone who is doing data mining, data engineering over a lot of data. I’ll discuss some queries which can help us to get useful data using pandas DataFrame. My much focus will be over pandas DataFrame and pandas Series.

In this…


Flask app is a popular framework for developing minimal apps or often creating restful APIs. In this article I’m going to discuss about how to deploy a flask app using WSGI and Apache server over Ubuntu 20.04. This article will be helpful to those people who are deploying flask app for the first time and I have also discussed that how to find some of the errors which may occur during deployment and how to tackle them. Recently, I deployed a flask app on AWS and there I were faced some difficulties. So, main purpose of this article is to…

Overview of Article

In this article, we’ll build an artificial intelligence movies recommendation system by using k-means algorithm which is a clustering algorithm. We’ll recommend movies to users which are more relevant to them based on their previous history. We’ll only import those data, where users has rated movies 4+ as we want to recommend only those movies which users like most. In this whole article, we have used Python programming language with their associated libraries i.e. NumPy, Pandas, Matplotlib and Scikit-Learn. Moreover, we have supposed that the reader has familiarity with Python and the aforementioned libraries.

Introduction to AI Movies Recommendation System

In this busy life as people…

Syed Muhammad Asad

MS (Computational Mathematics), Data Scientist and Machine Learning Engineer, Mathematician, Programmer, Research Scientist, Writer.

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