Class Notes - XI
Class Notes - XI
What is AI?
AI is a technology to create intelligent machines that can recognize human speech, can see
(vision), assimilate knowledge, strategize and solve problems as humans do. Broadly, AI
entails all those technologies or fields that aim to create intelligent machines.
History of AI
In 1950’s
The modern-day AI got impetus since 50s of the previous centuries, once Alan Turing
introduced the “Turing Test” for assessment of intelligence.
In 1955
John McCarthy known as the founder of Artificial Intelligence introduced the term ‘Artificial
Intelligence’. McCarthy along with Alan Turing, Allen Newell, Herbert A. Simon, and Marvin
Minsky too has the greatest contribution to present day machine intelligence. Alan
suggested that if humans use accessible information, as well as reason, to solve problems
to make decisions – then why can’t it be done with the help of machines?
In 1970’s
The 70's saw an upsurge of the computer era. These machines were much quicker,
affordable and stowed more information. They had an amazing character to think
abstractly, could self-recognize and accomplished natural language processing.
1
In 1980’s
These were the years that saw flow of funds for research and algorithmic tools. The
learning skills were enhanced and computers improved with deeper user experience. In
2000’s Many unsuccessful attempts, Alas! The technology was successfully established by
years 2000.The milestones were realised, that needed to be accomplished. AI could
somehow manage to thrive despite lack of government funds and public appreciation.
2
3. Machine Learning
A programmer accepts the input, gives the instruction (through Code / Computer
language) to the computer to produce an output/destination.
3
Give an example of a conventional approach here..
The input data and the output data are fed to an algorithm (Machine learning
algorithm) to create a program. Programmer feeds the computer with ‘The Input +
The Output’ and the computer generates the algorithm as to how the ‘The Output’
was achieved.
4
Relation between ML and AI:
Machine learning provides machines the ability to learn, forecast and progress on
their own without specifically being programmed. In a nutshell, ML is more about
learning and nothing else. ML systems primarily start with a ‘slow state’ (like a child)
and gradually improve by learning from examples to become ‘superior’ (like an
adult).
5
Data in AI
● Numeric Data.
● Categorical DataImage Data
● Text Data
● Time Series Data
● Audio Data
● Sensor Data
● Structured Data
Data may be represented with the help of characters such as alphabets (A-Z, a-z),
digits (0-9) or special characters (+, -, /, *, <,>, = etc.)
Activity
6
Data can be sorted into one of the two categories:
1. Structured Data
2. Unstructured Data
7
Structured Data
● Structured data has predefined data types and format so that it fits well in
the column/ fields of a database or spreadsheet.
● They are highly organized and easily analyzed. The data that can be stored in
relational databases or spreadsheets (like Excel) is the best example of
structured data.
● Eg: Name, Age. Address of a person
Unstructured Data
8
Supervised Learning
● In Supervised Learning we train the machine with labeled data (i.e. some
data is already tagged with the correct answer) and then becomes ready to
predict the outcomes for unforeseen data.
● We provide the system with data that contains photos of apples and let it
know that these are apples. This is called labeled data.
● The model learns from the labeled data and the next time you ask it to
identify an apple, it can do it easily.
Text categorization
Face Detection
Signature recognition
Spam detection
9
Unsupervised Machine Learning
10
Reinforcement Machine Learning
11
Deep Learning and Neural Networks
● Deep Learning is inspired from the human brain and the neurons in the
human brain.
● Deep learning is a branch of machine learning which is completely based on
artificial neural networks, as neural networks mimic the human brain so
deep learning is also a kind of imitation of the human brain.
● The idea of ANN in Deep Learning is based on the belief that the human
brain works by making the right connections, and this pattern can be
imitated using silicon and wires in place of living neurons.
12
The most common structure for a neural network consists of three separate layers
known as input, hidden and output.
Input Layer:
This is the layer where information or initial data from the real world gets
introduced into the neural network. The information is then passed onto the
hidden node where computations can begin.
Hidden Layer:
There is no connection to the real world at this stage. This is the point where the
machine uses the information received from the input node, it carries out
computation and processing on it. There can be more than one hidden layer.
Output Layer:
This is the final stage where the computations conclude, and data is made available
to the output layer from where it gets transferred back into the real-world
13
environment.
14
Examples of Deep Learning
Facebook Friend Suggestion: Facebook continuously notices the friends that you
15
connect with, the profiles that you visit very often. On the basis of continuous
learning, a list of Facebook users is suggested that you can become friends with.
Face Recognition on Facebook: When you upload a picture of yourself with a friend
does Facebook instantly recognize that friend. Facebook checks the poses and
projections in the picture, notices the unique features, and then matches the same
with the people in your friends list.
5. Email spam and malware filtering - Emails are arranged according to some
standards as per email spam. Mail filtering manages received mails, detects and
removes the ones holding malicious codes such as virus, Trojan or malware.
Jobs in AI
● AI Data Analyst
● Big Data Engineer
● BI Developer
● Data scientist
● ML Engineer
1) Creative Jobs Professionals like artists, doctors, scientists are only a few which
can be labeled creative. Such a category of jobs is only going to get refined and
advanced by use of AI. The number of such professionals required will not increase.
16
But AI will make certain parts of these jobs less complex for humans, so it will
become easier in the future to learn the skill in lesser time and flourish.
3) Tech Jobs Programmers, data scientists, people who work on the creation and
maintenance of AI systems are the jobs of the future and they will be very
important for humanity to make the next large step of its evolution. They too
should undergo certain changes. Few of the tech jobs which are in demand today
may become less common, while others may become more vital.
17