AI Unit 1
AI Unit 1
In today's world, technology is growing very fast, and we are getting in touch
with different new technologies day by day.Here, one of the booming
technologies of computer science is Artificial Intelligence which is ready to
create a new revolution in the world by making intelligent machines.The
Artificial Intelligence is now all around us. It is currently working with a variety
of subfields, ranging from general to specific, such as self-driving cars, playing
chess, proving theorems, playing music, Painting, etc.AI is one of the
fascinating and universal fields of Computer science which has a great scope in
future. AI holds a tendency to cause a machine to work as a human.
Knowledge
Reasoning
Problem solving
Perception
Learning
Planning
Ability to manipulate and move objects
History of AI
Artificial Intelligence is not a new word and not a new technology for
researchers. This technology is much older than you would imagine. Even there
are the myths of Mechanical men in Ancient Greek and Egyptian Myths.
Following are some milestones in the history of AI which defines the journey
from the AI generation to till date development.
Maturation of Artificial Intelligence (1943-1952)
Year 1943: The first work which is now recognized as AI was done by
Warren McCulloch and Walter pits in 1943. They proposed a model
of artificial neurons.
Year 1949: Donald Hebb demonstrated an updating rule for modifying
the connection strength between neurons. His rule is now called Hebbian
learning.
Year 1950: The Alan Turing who was an English mathematician and
pioneered Machine learning in 1950. Alan Turing publishes "Computing
Machinery and Intelligence" in which he proposed a test. The test can
check the machine's ability to exhibit intelligent behavior equivalent to
human intelligence, called a Turing test.
Year 1955: An Allen Newell and Herbert A. Simon created the "first
artificial intelligence program"Which was named as "Logic Theorist".
This program had proved 38 of 52 Mathematics theorems, and find new
and more elegant proofs for some theorems.
Year 1956: The word "Artificial Intelligence" first adopted by American
Computer scientist John McCarthy at the Dartmouth Conference. For the
first time, AI coined as an academic field.
A boom of AI (1980-1987)
o The duration between the years 1987 to 1993 was the second AI Winter
duration.
o Again Investors and government stopped in funding for AI research as
due to high cost but not efficient result. The expert system such as XCON
was very cost effective.
o Year 1997: In the year 1997, IBM Deep Blue beats world chess
champion, Gary Kasparov, and became the first computer to beat a world
chess champion.
o Year 2002: for the first time, AI entered the home in the form of
Roomba, a vacuum cleaner.
o Year 2006: AI came in the Business world till the year 2006. Companies
like Facebook, Twitter, and Netflix also started using AI.
o Year 2011: In the year 2011, IBM's Watson won jeopardy, a quiz show,
where it had to solve the complex questions as well as riddles. Watson
had proved that it could understand natural language and can solve tricky
questions quickly.
o Year 2012: Google has launched an Android app feature "Google now",
which was able to provide information to the user as a prediction.
o Year 2014: In the year 2014, Chatbot "Eugene Goostman" won a
competition in the infamous "Turing test."
o Year 2018: The "Project Debater" from IBM debated on complex topics
with two master debaters and also performed extremely well.
o Google has demonstrated an AI program "Duplex" which was a virtual
assistant and which had taken hairdresser appointment on call, and lady
on other side didn't notice that she was talking with the machine.
Now AI has developed to a remarkable level. The concept of Deep learning, big
data, and data science are now trending like a boom. Nowadays companies like
Google, Facebook, IBM, and Amazon are working with AI and creating
amazing devices. The future of Artificial Intelligence is inspiring and will come
with high intelligence.
Intelligent Systems
The intelligent systems are classified into four types they are
Industrial Applications
Household Applications
Research Applications of AI
IS Research Centres
Industrial Application
These application used in different types of industries such as
Transportation
Agriculture
Telecommunications
Manufacturing
Military
Medicine
Architecture
Oil & Gas
Chemistry
Aviation
Household Applications
Smart Houses
Caring Robots
Robots in the Home & Chat bots
Research Applications of AI
Mathematics
Politics & Foreign Relations
Decision Support Systems
Banking & Finance
Medicine
Astronomy & Space Exploration
Archaeology
Knowledge Management
IS Research centres
NASA
IRIS – Institute of Robotics and intelligent Systems
CISR – Centre of intelligent Systems Research (Washington)
Halmstad University – Centre of Applied Intelligent Systems Research
University of Alster – Intelligent Systems Research Centre
SRI – Stanford Research Institute
Foundations of AI
1941 – First Electronic Computer Created
1941 – 1949 – First Commercial Stored Program Created
1949 – 1956 - Birth of AI
1956 -1958 – LISP Created
1963 – Start of DOD advanced research project
1968 – First Micro Program Started
1970 – First Expert System
1972 – PROLOG
1991 – AI System beats chess master
Applications of AI
Finance : Banks use artificial intelligence systems to organize operations, invest
in stocks, and manage properties. In August 2001, robots beat humans in a
simulated financial trading competition.
Medicine: A medical clinic can use AI systems to organize bed schedules, make
a staff rotation, and provide medical information. AI has also application in
fields of cardiology (CRG), neurology (MRI), embryology
(sonography),complex operations of internal organs etc.
Social Sites: Facebook wants to analyze the way people communicate with one
another so that it can add new features to its services or even automatically
remove offensive posts that might occur when a high-profile celebrity like
Angelina Joli posts a selfie.
Robotics: Robots are physical agents that perform tasks by manipulating the
physical world . Robots are manufactured as hardware. The control of robot is
AI (in the form of software agent) that reads data from the sensors decides what
to do next and then directs the effectors to act in the physical world.
Heavy Industries : Huge machines involve risk in their manual maintenance and
working. So in becomes necessary part to have an automated AI agent in their
operation.
Education: AI researchers have created many tools to solve the most difficult
problems in computer science
Approach 1
Data Structure Consider a Board having nine elements vector. Each
element will contain
0 for blank
1 indicating X player move
2 indicating O player move
Computer may play as X or O player.
First player who so ever is always plays X.
MT is a vector of 39 elements, each element of which is a nine element
vector representing board position. Total of 39 (19683) elements in MT
To make a move, do the following:
View the vector (board) as a ternary number and convert it to its
corresponding decimal number. Use the computed number as an index
into the
MT and access the vector stored there.
The selected vector represents the way the board will look after the move.
Set board equal to that vector.
Approach 2
Data Structure Board: A nine-element vector representing the board:B[1..9]
Following conventions are used
2-indicates blank
3-X
5-0
Turn: An integer
1-First move
9-Last move
Procedure – PossWin
PossWin (P) 🡪 Returns
0, if player P cannot win in its next move,
Rule
If PossWin (P) = 0 {P can not win} then find whether opponent can win. If so,
then block it.
PosWin checks one at a time, for each rows /columns and diagonals as
follows.
Comments
Not as efficient as first one in terms of time.
Several conditions are checked before each move.
It is memory efficient.
Easier to understand & complete strategy has been determined in advance
Still can not generalize to 3-D.
Approach 3
Same as approach 2 except for one change in the representation of the
board.
Board is considered to be a magic square of size 3 X 3 with 9 blocks
numbered by numbers indicated by magic square.
This representation makes process of checking for a possible win more
simple.
Board Layout – Magic Square
Board Layout as magic square. Each row, column and diagonals add to 15.
8 3
5
Working – contd
Strategy is same as in approach 2
First check if computer can win.
If not then check if opponent can win.
If so, then block it and proceed further.
S = 8 + 3 = 11
Compute D = 15 – 11 = 4
Block 4 is a winning block for H.
So block this block and play in block numbered 4.
The list of C gets updated with block number 4 as follows:
H 8 3 C 5 4
Assume that H plays in block numbered 6.
Now it’s a turn of C.
8 3 6
Second Player C
5 4 1
Current trends in AI
Artificial Intelligence (AI) was invented several decades ago. In the past, many
people associated AI with robots. But, it plays a crucial role in our lives now.
Personal gadgets, media streaming gadgets, smart cars, and home appliances
use artificial intelligence. Also, businesses use it to improve customer
experience and management functions. Here are six artificial intelligence trends
to look out for in 2020.
3. Predictive Analytics
Artificial Intelligence, NLP, and machine learning to process data have a
positive effect on augmented analytics. More companies will start using
predictive analytics this year. It is essential in customer service, recruitment,
price optimization, retail sales, and supply chain improvement. Predictive
analytics will help businesses use real data to prepare for outcomes and
behaviors thus being more proactive.
4. Enhanced Customization
Companies need to understand delivery services and customer preferences to
have an edge over their competitors. All-pervasive location and real-time data
have conformed customer services in online marketplaces and urban mobility.
Businesses need to offer relevant and personalized services to remain relevant
and widen their client base.
5. Real-Time Marketing Activities
Instant data on current marketing decisions is part of real-time marketing. It
relies on relevant trends and customer feedback to prepare strategies. The
number of real-time marketing activities is expected to soar in 2020, and
Artificial Intelligence will drive most of them. Besides, more companies will
apply AI to manage real-time user interactions and satisfy clients.
6. AI-Powered Chatbots
Many businesses use chatbots to market products and make payments. They are
efficient in offering exemplary customer service. Many chatbots use data from
huge databases. But, they might not comprehend particular phrases. Chatbots
will match human conversation this year. For instance, AI-driven chatbots can
recall some parts of a conversation with a client and make a personalized
conversation using them.
Artificial intelligence has many possibilities. It is one of the most important
technologies in Industry 4.0 and automation, agriculture, aerospace,
construction, logistics, robotics, and connected mobility. AI customer support
and assistance, data access enabling ubiquity, predictive analysis, enhanced
customization, real-time marketing activities, and AI-powered chatbots are the
top artificial intelligence trends this year.