Backpropagation From Scratch

Backpropagation is considered as one of the core algorithms in Machine Learning. It is mainly used in training the neural network. What if we tell you that understanding and implementing it is not that hard?  Anyone who knows basic of Mathematics and has knowledge of basics of Python Language can learn this in 2 hours. Let’s get started.

Though there are many high-level overviews of the backpropagation algorithm what I found is that unless one implements the backpropagation from scratch, he or she is not able to understand many ideas behind neural networks.

Continue reading “Backpropagation From Scratch”

Writing Custom Optimizer in TensorFlow Keras API

Recently, I came up with an idea for a new Optimizer (an algorithm for training neural network). In theory, it looked great but when I implemented it and tested it, it didn’t turn out to be good.

Some of my learning are:

  1. Neural Networks are hard to predict.
  2. Figuring out how to customize TensorFlow is hard because the main documentation is messy.
  3. Theory and Practical are two different things. The more hands-on you are, the higher are your chances of trying out an idea and thus iterating faster.

I am sharing my algorithm here. Even though this algorithm may not be of much use to you but it would give you ideas on how to implement your own optimizer using Tensorflow Keras.

A neural network is basically a set of neurons connected to input and output. We need to adjust the connection strengths such that it gives the least error for a given set of input. To adjust the weight we use the algorithms. One brute force algorithm could be to try all possible combinations of weights (connections strength) but that will be too time-consuming. So, we usually use the greedy algorithm most of these are variants of Gradient Descent. In this article, we will write our custom algorithm to train a neural network. In other words, we will learn how to write our own custom optimizer using TensorFlow Keras.

Continue reading “Writing Custom Optimizer in TensorFlow Keras API”

Understanding Computer Vision with Deep Learning – Free Webinar

CloudxLab conducted a successful webinar on “Introduction to Machine Learning” on the 15th of October, 2019.  It was a 2-hour session in which the instructor explained the concepts based on Understanding Computer Vision with Deep Learning.

More than 250 learners around the globe attended the webinar. The participants were from countries namely; United States, Canada, Australia, Indonesia, India, Thailand, Philippines, Malaysia, Macao, Japan, Hong Kong, Singapore, United Kingdom, Saudi Arabia, Nepal, & New Zealand.

Continue reading “Understanding Computer Vision with Deep Learning – Free Webinar”

Big Data vs Machine Learning

Every day the world is advancing into the new level of industrialization and this has resulted in the production of a vast amount of data. And, at initial stages, people started considering it as a bane, but later they found out that it’s a boon. So, they started using this data in a productive way. Big data and machine learning are terminologies based on the concept of analyzing and using the same data. Let’s get into more details.

Continue reading “Big Data vs Machine Learning”

CloudXLab is proud to sponsor RACE360 as a Technology Partner.

RACE360, an Emerging Technology Conference 2019 (Powered by The Times of India) is happening on Wed, Aug 28th at The Lalit Ashok, Bengaluru. It is presented by REVA University, Bengaluru (REVA Academy for Corporate Excellence (RACE)).

Continue reading “CloudXLab is proud to sponsor RACE360 as a Technology Partner.”

Stages of Artificial Intelligence

The emergence of Artificial Intelligence has played an essential role in revolutionizing the technical industry. According to many people, Artificial Intelligence is something that makes their work easy; well, it is just one of the qualities of Artificial Intelligence.

What is Artificial Intelligence?

According to Wikipedia, Artificial Intelligence “is intelligence demonstrated by machines, in contrast to the natural intelligence displayed by humans.”

Artificial intelligence can be categorized into several stages, depending upon the role they play. In this article, we will go through all of these stages, including their real-world application.

Continue Reading

Upskill your workforce in partnership with CloudxLab

Henry Ford (Founder of Ford Motor Company) once said- The only worse thing than training your employees and having them leave is not training them and having them stay”.  

Most organizations face this dilemma and sometimes choose not to upskill their workforce only to impede its own growth and relinquish opportunities of gaining competitive advantage. While organizations actively promoting workforce learning & development (L&D) often face indifferent employee behaviours to such initiatives. There are other concerns as well, such as- customised learning platforms, hands on learning, training quality, accreditation, post training support and what not……..

Continue reading “Upskill your workforce in partnership with CloudxLab”

Things to Consider While Managing Machine Learning Projects

Generally, Machine Learning (or Deep Learning) projects are quite unique and also different from traditional web application projects due to the inherent complexity involved with them.

The goal of this article is, not to go through full project management life cycle, but to discuss a few complexities and finer points which may impact different project management phases and aspects of a Machine Learning(or Deep Learning) project, and, which should be taken care of, to avoid any surprises later.

Below is a quick ready reckoner for the topics that we will be discussing in this article.

Continue reading “Things to Consider While Managing Machine Learning Projects”

Conference on Computer Vision at Google Asia, Singapore

The deep learning algorithms and frameworks have changed the approach to computer vision entirely. With the recent development in computer vision with Convolutional Neural Networks such as Yolo, a new era has begun. It would open doors to new industries as well as personal applications.

After the successful bootcamps held at IIT Bombay, NUS Singapore, RV College of Engineering, etc, CloudxLab in collaboration with IoTSG and Google Asia conducted a successful conference on Understanding Computer Vision with AI using Tensorflow on May 11, 2019, at Google Asia, Singapore office.

Continue reading “Conference on Computer Vision at Google Asia, Singapore”

Deploying Machine Learning model in production

In this article, I am going to explain steps to deploy a trained and tested Machine Learning model in production environment.

Though, this article talks about Machine Learning model, the same steps apply to Deep Learning model too.

Below is a typical setup for deployment of a Machine Learning model, details of which we will be discussing in this article.

Process to build and deploy a REST service (for ML model) in production
Process to build and deploy a REST service (for ML model) in production

The complete code for creating a REST service for your Machine Learning model can be found at the below link:

https://github.com/cloudxlab/ml/tree/master/projects/deploy_mnist

Let us say, you have trained, fine-tuned and tested Machine Learning(ML) model – sgd_clf, which was trained and tested using SGD Classifier on MNIST dataset.  And now you want to deploy it in production, so that consumers of this model could use it. What are different options you have to deploy your ML model in production?

Continue reading “Deploying Machine Learning model in production”