Our short knowledge bytes help you build skills on Artificial Intelligence & Machine Learning
✨ What Is Artificial Intelligence ?
What is Artificial Intelligence? The answer to this question would depend on who you ask.
A layman, with a fleeting understanding of technology, would link it to robots. If you ask about artificial intelligence to an AI researcher, he/she would say that it’s a set of algorithms that can produce results without having to be explicitly instructed to do so. Both of these answers are right. Artificial Intelligence (AI) covers a range of techniques that appear as sentient behavior by the computer. Even though AI is already creating tremendous amounts of value into software industry, a lot of the value to be created in a future lies outside the software industry. In sectors such as retail, travel, transportation, automotive, materials, manufacturing and so on. For example, AI is used to recognize faces in photographs on your social media, beat the World’s Champion in chess, and process your speech when you speak to Siri or Alexa on your phone. Currently, Artificial Intelligence is shared by all the different tools and techniques have been invented by us over the last thousand years – to simplify human effort, and to help us make better decisions. Artificial Intelligence is one such creation that will help us in further inventing ground-breaking tools and services that would exponentially change how we lead our lives, by hopefully removing strife, inequality and human suffering.
Artificial Intelligence can be divided into three main levels:
- Artificial Narrow Intelligence
- Artificial General Intelligence
- Artificial Super-intelligence
Artificial Narrow Intelligence (ANI)
Also known as narrow AI or weak AI, Artificial narrow intelligence is goal-oriented and is designed to perform singular tasks. Although these machines are seen to be intelligent, they function under minimal limitations, and thus, are referred to as weak AI.
Examples of weak or narrow AI:
- Siri, Alexa, Cortana
- Self-driving cars
- Facial recognition softwares
- Email spam filters
Artificial General Intelligence (AGI)
Also known as strong AI or deep AI, Artificial General Intelligence refers to the concept through which machines can mimic human intelligence while showcasing the ability to apply their intelligence to solve problems. It is difficult to predict whether strong AI will continue to advance or not in the foreseeable future, but with speech and facial recognition continuously showing advancements, there is a slight possibility that we can expect growth in this level of AI too.
Artificial Super-intelligence (ASI)
Currently, super-intelligence is just a hypothetical concept. People assume that it may be possible to develop such an artificial intelligence in the future, but it doesn’t exist in the current world. Super-intelligence can be known as that level wherein the machine surpasses human capabilities and becomes self-aware.
One important application of Artificial Intelligence is Natural Language Processing.
Natural Language Processing is the application of computational linguistics to build real-world applications which work with languages comprising of varying structures.It is used to understand and interpret human language to the machine.
So now I hope you have a decent understanding of what is AI.
✨ What Is Machine Learning?
The rise of Artificial Intelligence has been largely driven by one tool in AI called Machine Learning.
The most commonly used type of machine learning is a type of AI that learns A to B, or input to output mappings. This is called supervised learning. The development of today’s AI applications started with using the age-old traditional statistical techniques. You must have used straight-line interpolation in schools to predict a future value. There are several other such statistical techniques which are successfully applied in developing so-called AI programs. We say “so-called” because the AI programs that we have today are much more complex and use techniques far beyond the statistical techniques used by the early AI programs.
Now we move on to the types of machine learning
There are 3 basic types of machine learning-
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
Supervised Learning
Supervised learning is the most common type of Machine Learning.
A computer is provided with labeled examples (e.g., photos of cars with text labels of the manufacturers). The machine attempts to correctly label any new image presented without actually memorizing every pair it trained on.
Unsupervised Learning
Unsupervised learning is less common than supervised learning. In this type of Machine Learning, a computer is provided with no training labels.
One common technique is clustering — finding reasonable groupings between data points automatically.
Reinforcement Learning
Reinforcement Learning is a type of Machine Learning that lets a computer learn through trial and error by attempting to maximize rewards.
E.g., a machine can learn to play a video game with an objective of getting the highest score possible. Over time, the machine will perform better and better.
✨ What Is Supervised Learning ?
Supervised learning is currently the most common type of machine learning.
A computer is provided with labeled examples (e.g., photos of cars with text labels of the manufacturers). The machine attempts to correctly label any new image presented without actually memorizing every pair it trained on.
Supervised learning is analogous to training a child to walk. You will hold the child’s hand, show him how to take his foot forward, walk yourself for a demonstration and so on, until the child learns to walk on his own. Similarly, in the case of supervised learning, you give concrete known examples to the computer.
In the case of supervised learning, you give concrete known examples to the computer. You say that for given feature value x1 the output is y1, for x2 it is y2, for x3 it is y3, and so on. Based on this data, you let the computer figure out an empirical relationship between x and y. This set of AI called supervised learning, just learns input to output, or A to B mappings. On one hand, input to output, A to B it seems quite limiting. But when you find a right application scenario, this can be incredibly valuable.
✨ What Is Unsupervised Learning ?
Unsupervised learning is less common than supervised learning. In this type of Machine Learning, a computer is provided with no training labels.
In unsupervised learning, we do not specify a target variable to the machine, rather we ask machine “What can you tell me about X?”. More specifically, we may ask questions such as given a huge data set X, “What are the five best groups we can make out of X?” or “What features occur together most frequently in X?”. To arrive at the answers to such questions, you can understand that the number of data points that the machine would require to deduce a strategy would be very large. In case of supervised learning, the machine can be trained with even about few thousands of data points. However, in case of unsupervised learning, the number of data points that is reasonably accepted for learning starts in a few millions. These days, the data is generally abundantly available. The data ideally requires curating. However, the amount of data that is continuously flowing in a social area network, in most cases data curation is an impossible task.
One common technique is clustering — finding reasonable groupings between data points automatically.
✨ What Is Reinforcement Learning ?
Reinforcement Learning is a type of Machine Learning that lets a computer learn through trial and error by attempting to maximize rewards.
This technique was initially developed for machines to play games. The machine is given an algorithm to analyze all possible moves at each stage of the game. The machine may select one of the moves at random. If the move is right, the machine is rewarded, otherwise it may be penalized. Slowly, the machine will start differentiating between right and wrong moves and after several iterations would learn to solve the game puzzle with a better accuracy. The accuracy of winning the game would improve as the machine plays more and more games.
E.g., a machine can learn to play a video game with an objective of getting the highest score possible. Over time, the machine will perform better and better.
✨ What Is Deep Learning ?
Deep learning is a Machine Learning technique that teaches computers to do what comes naturally to humans: learn by example. Deep Learning mimics structures in the human brain. By layering multiple neurons together, each can focus on specific aspects of a stimulus (e.g., the shape, color, and opacity of an object in an image). Increasing the number of layers generally increases the power and time required, as well as the accuracy.
In Deep Learning, a computer model learns to perform classification tasks directly from images, text, or sound. Deep learning models can achieve accuracy, sometimes exceeding human-level performance. Models are trained by using a large set of labeled data and neural network architectures that contain many layers.
Deep learning is a key technology behind driverless cars, enabling them to recognize a stop sign, or to distinguish a pedestrian from a lamppost. It is the key to voice control in consumer devices like phones, tablets, TVs, and hands-free speakers.
✨ Key differences between Machine Learning and Deep Learning
While there are many differences between these two subsets of artificial intelligence, here are five of the most important:
1. Human Intervention
Machine learning requires more ongoing human intervention to get results. Deep learning is more complex to set up but requires minimal intervention once setup.
2. Resources
Machine Learning can perform well with small size data, while Deep Learning does not perform as good with smaller datasets.
Machine learning programs tend to be less complex than Deep Learning algorithms and can often run on conventional computers, but deep learning systems require more powerful hardware and resources.
3. Time
Training time for Machine Learning is lesser as compared to Deep Learning. Machine Learning systems can be set up and operate quickly but may be limited in the power of their results. Deep learning systems take more time to set up but can generate results instantaneously.
4. Approach
Machine learning tends to require structured data and uses traditional algorithms like linear regression. Deep learning employs neural networks and is built to accommodate large volumes of unstructured data.
5. Applications
Machine learning is already in use in your email inbox, bank, and doctor’s office. Deep learning technology enables more complex and autonomous programs, like self driving cars or robots that perform advanced functions.
✨ What Is A Neural Network ?
A neural network is a computer system inspired by the design of an organic brain.
A neural network is a series of algorithms that recognize the underlying relationships in a set of data through a process that mimics the way the human brain operates. Using algorithms, they can recognize hidden patterns and correlations in raw data, cluster and classify it, and continuously learn and improve over time.
Neural Networks are regulating some key sectors including finance, healthcare, and automotive. As these artificial neurons function in a way similar to the human brain. They can be used for image recognition, character recognition and stock market predictions.

✨ What Is Transfer Learning ?
Transfer learning is an attempt to build more generally applicable Artificial Intelligence by taking knowledge/models from one task and applying it to a different task.
A machine that becomes an expert in one task may be able to transfer what it has learned to another.
✨ What Is Bias In Machine Learning?
Bias is a tendency to treat some things/groups/people/labels more than others.
This is, to some degree, the point, a machine should be making predictions based on what it has “seen” before.
Bias as related to ethics and fairness is an unintended outcome that can have real impact on our users and consequently destroy user trust. These types of bias can be introduced into a number of different places within the process of designing machine learning systems.
Biases can affect collection and interpretation of data, the design of a system, and how users interact with a system. Forms of this type of bias include:
Automation Bias
When a human decision maker favors recommendations made by an automated decision-making system over information made without automation, even when the automated decision-making system makes errors.
Confirmation Bias
The tendency to search for, interpret, favor, and recall information in a way that confirms one’s preexisting beliefs or hypotheses. Machine learning developers may inadvertently collect or label data in ways that influence an outcome supporting their existing beliefs. Confirmation bias is a form of Implicit Bias.
Implicit Bias
Automatically making an association or assumption based on one’s mental models and memories. Implicit bias can affect the following:
- How data is collected and classified.
- How machine learning systems are designed and developed.
For example, when building a classifier to identify wedding photos, an engineer may use the presence of a white dress in a photo as a feature. However, white dresses have been customary only during certain eras and in certain cultures.
Experimenter’s Bias
Experimenter’s Bias is a form of confirmation bias in which an experimenter continues training models until a preexisting hypothesis is confirmed.